mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
* Use GLFW instead of OpenTK windows * Seems to work pretty well now. * Fix stackalloc issue on Framework. * Add GLFW project to sln. * Fix package downgrade. * Fix SLN more. * Please work. * Fix C# version error.
31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
//
|
|
// WindowHintReleaseBehavior.cs
|
|
//
|
|
// Copyright (C) 2019 OpenTK
|
|
//
|
|
// This software may be modified and distributed under the terms
|
|
// of the MIT license. See the LICENSE file for details.
|
|
//
|
|
|
|
namespace OpenToolkit.GraphicsLibraryFramework
|
|
{
|
|
/// <summary>
|
|
/// Used to specify the release behavior used by the local context.
|
|
/// </summary>
|
|
/// <seealso cref="GLFW.WindowHint(WindowHintReleaseBehavior,ReleaseBehavior)"/>
|
|
public enum WindowHintReleaseBehavior
|
|
{
|
|
/// <summary>
|
|
/// Specifies the release behavior to be used by the context.
|
|
/// Possible values are one of <see cref="ReleaseBehavior.Any"/>,
|
|
/// <see cref="ReleaseBehavior.Flush"/> or <see cref="ReleaseBehavior.None"/>.
|
|
/// If the behavior is <see cref="ReleaseBehavior"/>, the default behavior
|
|
/// of the context creation API will be used.
|
|
/// If the behavior is <see cref="ReleaseBehavior.Flush"/>, the pipeline will be flushed
|
|
/// whenever the context is released from being the current one.
|
|
/// If the behavior is <see cref="ReleaseBehavior.None"/>, the pipeline will not be flushed on release.
|
|
/// </summary>
|
|
ContextReleaseBehavior = 0x00022009,
|
|
}
|
|
}
|