Defines a callback for a quadric object.
gluQuadricCallback is used to define a new callback to be used by a quadrics object. If the specified callback is already defined, then it is replaced. If func is null
, then any existing callback is erased.
The one legal callback is GLU_ERROR:
Value | Description |
---|---|
GLU_ERROR | The function is called when an error is encountered. Its single argument is of type Int32, and it indicates the specific error that occurred. Character strings describing these errors can be retrieved with the gluErrorString call. |
Glu Class | Tao.OpenGl Namespace | Glu.QuadricErrorCallback | gluErrorString | gluNewQuadric