Enum ErrorCode
Error codes, used in the error callback.
Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public enum ErrorCode
Fields
Name | Description |
---|---|
ApiUnavailable | The requested API is not available on the system. |
FormatUnavailable | The requested format is unavailable. |
InvalidEnum | Used an invalid enum value on a function. |
InvalidValue | Called a function with an invalid argument. |
NoContext | No OpenGL/OpenGL ES context on this thread. |
NoError | Everything is running as intended. Yay! |
NotInitialized | Called a function before calling Init(). Initialize GLFW and then try again. |
NoWindowContext | There is no OpenGL/OpenGL ES context attached to this window. |
OutOfMemory | A memory allocation failed on GLFW's end. |
PlatformError | A platform-specific error occurred that doesn't fit into any more specific category. |
VersionUnavailable | The requested OpenGL version is not available on the system. |