mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
97 lines
3.8 KiB
C#
97 lines
3.8 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Glfw.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.GlfwApi
|
|
{
|
|
/// <summary>
|
|
/// More detailed documentation at: Error Codes (glfw.org).
|
|
/// </summary>
|
|
/// <seealso href="https://www.glfw.org/docs/latest/group__errors.html">Error Codes</seealso>
|
|
public enum GlfwErrorCode
|
|
{
|
|
/// <summary>
|
|
/// No error has occurred.
|
|
/// </summary>
|
|
NoError = GLFW_NO_ERROR,
|
|
|
|
/// <summary>
|
|
/// This occurs if a GLFW function was called that must not be called unless the library is initialized.
|
|
/// </summary>
|
|
NotInitialized = GLFW_NOT_INITIALIZED,
|
|
|
|
/// <summary>
|
|
/// This occurs if a GLFW function was called that needs and operates on the current OpenGL or OpenGL ES
|
|
/// context but no context is current on the calling thread. One such function is Glfw.GetCurrentContext.
|
|
/// </summary>
|
|
NoCurrentContext = GLFW_NO_CURRENT_CONTEXT,
|
|
|
|
/// <summary>
|
|
/// One of the arguments to the function was an invalid enum value.
|
|
/// </summary>
|
|
InvalidEnum = GLFW_INVALID_ENUM,
|
|
|
|
/// <summary>
|
|
/// One of the arguments to the function was an invalid value, for example requesting a non-existent OpenGL or
|
|
/// OpenGL ES version.
|
|
/// </summary>
|
|
InvalidValue = GLFW_INVALID_VALUE,
|
|
|
|
/// <summary>
|
|
/// A memory allocation failed.
|
|
/// </summary>
|
|
OutOfMemory = GLFW_OUT_OF_MEMORY,
|
|
|
|
/// <summary>
|
|
/// GLFW could not find support for the requested API on the system.
|
|
/// </summary>
|
|
ApiUnavailable = GLFW_API_UNAVAILABLE,
|
|
|
|
/// <summary>
|
|
/// The requested OpenGL or OpenGL ES version (including any requested context or framebuffer hints) is not
|
|
/// available on this machine.
|
|
/// </summary>
|
|
VersionUnavailable = GLFW_VERSION_UNAVAILABLE,
|
|
|
|
/// <summary>
|
|
/// A platform-specific error occurred that does not match any of the more specific categories.
|
|
/// </summary>
|
|
PlatformError = GLFW_PLATFORM_ERROR,
|
|
|
|
/// <summary>
|
|
/// If emitted during window creation, the requested pixel format is not supported. If emitted when querying
|
|
/// the clipboard, the contents of the clipboard could not be converted to the requested format.
|
|
/// </summary>
|
|
FormatUnavailable = GLFW_FORMAT_UNAVAILABLE,
|
|
|
|
/// <summary>
|
|
/// A window that does not have an OpenGL or OpenGL ES context was passed to a function that requires it to
|
|
/// have one.
|
|
/// </summary>
|
|
NoWindowContext = GLFW_NO_WINDOW_CONTEXT,
|
|
|
|
/// <summary>
|
|
/// The specified standard cursor shape is not available, either because the current platform cursor theme
|
|
/// does not provide it or because it is not available on the platform.
|
|
/// </summary>
|
|
CursorUnavailable = GLFW_CURSOR_UNAVAILABLE,
|
|
|
|
/// <summary>
|
|
/// The requested feature is not provided by the platform, so GLFW is unable to implement it. The
|
|
/// documentation for each function notes if it could emit this error.
|
|
/// </summary>
|
|
FeatureUnavailable = GLFW_FEATURE_UNAVAILABLE,
|
|
|
|
/// <summary>
|
|
/// The requested feature has not yet been implemented in GLFW for this platform.
|
|
/// </summary>
|
|
FeatureUnimplemented = GLFW_FEATURE_UNIMPLEMENTED,
|
|
|
|
/// <summary>
|
|
/// The requested platform-specific functionality is not available on the current platform. Most commonly
|
|
/// emitted by a native-access function whose backend (Cocoa, Win32, X11, Wayland, WGL, NSGL, GLX, EGL,
|
|
/// OSMesa) is not the one GLFW was initialized for.
|
|
/// </summary>
|
|
PlatformUnavailable = GLFW_PLATFORM_UNAVAILABLE,
|
|
}
|
|
}
|