enum Gloop::Error
Overview
Error codes for known OpenGL errors.
Defined in:
gloop/errors/error.crEnum Members
-
None =
0_u32
-
No error reported by OpenGL.
-
InvalidEnum =
1280_u32
-
An enum parameter given to OpenGL was incorrect for that function.
This typically indicates a problem in the code calling OpenGL. If this is raised by a Gloop method, this is likely a bug.
-
InvalidValue =
1281_u32
-
A value given to OpenGL was incorrect for that function.
This is usually a problem with the code calling OpenGL.
-
InvalidOperation =
1282_u32
-
OpenGL command is not legal for the current state.
This is usually a problem with the code calling OpenGL.
-
InvalidFramebufferOperation =
1286_u32
-
An operation on a framebuffer is not legal in its current state.
This is usually a problem with the code calling OpenGL. An attempt might have been made to read or write to a non-complete framebuffer.
-
OutOfMemory =
1285_u32
-
OpenGL could not allocate more memory.
This could be RAM or VRAM. Virtually any OpenGL function could report this error. OpenGL will be in an undefined state when this occurs.
-
StackOverflow =
1283_u32
-
An attempt was made to push onto the stack when the maximum stack size has been reached.
This typically indicates a very deep call stack or infinite recursion.
-
StackUnderflow =
1284_u32
-
An attempt was made to pop from the stack when there was nothing left.
This typically indicates a problem with code interacting with OpenGL.
Instance Method Summary
- #invalid_enum?
- #invalid_framebuffer_operation?
- #invalid_operation?
- #invalid_value?
- #none?
- #out_of_memory?
- #stack_overflow?
- #stack_underflow?
-
#to_unsafe
Converts to an OpenGL enum.