|
NAMEglRenderMode - set rasterization modeC SPECIFICATIONGLint glRenderMode( GLenum mode )PARAMETERS
DESCRIPTIONglRenderMode sets the rasterization mode. It takes one argument, mode, which can assume one of three predefined values:
The return value of glRenderMode is determined by the render mode at the time glRenderMode is called, rather than by mode. The values returned for the three render modes are as follows:
See the glSelectBuffer and glFeedbackBuffer reference pages for more details concerning selection and feedback operation. NOTESIf an error is generated, glRenderMode returns 0 regardless of the current render mode.ERRORSGL_INVALID_ENUM is generated if mode is not one of the three accepted values.GL_INVALID_OPERATION is generated if glSelectBuffer is called while the render mode is GL_SELECT, or if glRenderMode is called with argument GL_SELECT before glSelectBuffer is called at least once. GL_INVALID_OPERATION is generated if glFeedbackBuffer is called while the render mode is GL_FEEDBACK, or if glRenderMode is called with argument GL_FEEDBACK before glFeedbackBuffer is called at least once. GL_INVALID_OPERATION is generated if glRenderMode is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETSglGet with argument GL_RENDER_MODESEE ALSOglFeedbackBuffer, glInitNames, glLoadName, glPassThrough, glPushName, glSelectBuffer Visit the GSP FreeBSD Man Page Interface. |