Glu.ErrorString (gb.opengl.glu)
Static Function ErrorString ( ErrorCode As Integer ) As String
Produce an error string from a GL or GLU error code.
Parameters
- error
-
Specifies a GL or GLU error code.
Description
Glu.ErrorString produces an error string from a GL or GLU error code. The string
is in ISO Latin 1 format. For example,
Glu.ErrorString(Glu.OUT_OF_MEMORY) returns the string
out of memory.
The standard GLU error codes are Glu.INVALID_ENUM,
Glu.INVALID_VALUE,
and Glu.OUT_OF_MEMORY.
Certain other GLU functions can return specialized error codes
through callbacks.
See the
Gl.GetError reference page for the list of
GL error codes.
Errors
NULL is returned if
error is not a valid GL or GLU error code.
See also
Glu.NurbsCallback,
Glu.QuadricCallback,
Glu.TessCallback,
See original documentation on OpenGL website