Tao.OpenGl SDK Documentation

Glu.gluErrorUnicodeStringEXT Method 

Produces an error string from a GL or GLU error code.

[Visual Basic]
Public Shared Function gluErrorUnicodeStringEXT( _
   ByVal errorCode As Integer _
) As String
[C#]
public static string gluErrorUnicodeStringEXT(
   int errorCode
);

Parameters

errorCode
An OpenGL or GLU error code.

Return Value

A Unicode string representation of the error.

Remarks

gluErrorString produces an error string from a GL or GLU error code. The string is in UNICODE format. For example, gluErrorString(Gl.GL_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 glGetError reference page for the list of GL error codes.

ERRORS

NULL is returned if errorCode is not a valid GL or GLU error code.

See Also

Glu Class | Tao.OpenGl Namespace | glGetError | gluNurbsCallback | gluQuadricCallback | gluTessCallback