mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-07 02:08:17 +02: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.
34 lines
871 B
C#
34 lines
871 B
C#
//
|
|
// ReleaseBehavior.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>
|
|
/// The context release behaviors.
|
|
/// </summary>
|
|
/// <seealso cref="GLFW.WindowHint(WindowHintReleaseBehavior,ReleaseBehavior)"/>
|
|
public enum ReleaseBehavior
|
|
{
|
|
/// <summary>
|
|
/// Use the default release behavior of the platform.
|
|
/// </summary>
|
|
Any = 0,
|
|
|
|
/// <summary>
|
|
/// The pipeline will be flushed whenever the context is released from being the current one.
|
|
/// </summary>
|
|
Flush = 0x00035001,
|
|
|
|
/// <summary>
|
|
/// The pipeline will not be flushed on release.
|
|
/// </summary>
|
|
None = 0x00035002
|
|
}
|
|
}
|