class grSpecs: public grNode

General rendering settings

Inheritance:


Public Fields

[more]GLenum CullFace
Face culling method: GL_FRONT or GL_BACK
[more]GLenum FrontFace
Front face definition: GL_CCW or GL_CW
[more]GLenum ShadeModel
Face shading model: GL_FLAT or GL_SMOOTH

Public Methods

[more] grSpecs()
Default constructor
[more]void Get()
Retrieves settings from internal opengl status
[more]char* Name() const
see grNode


Inherited from grNode:

Public Methods

ovoid Render( grStatus & status )
ovoid Select( grStatus & status )
ogrNode* FindByName( const GLuint name )


Documentation

General rendering settings. This node specifies a set of general rendering setting: the shade model (GL_FLAT = faces are flat, GL_SMOOTH), the front face definition (GL_CCW = the front is the counter clock-wise order, GL_CW = the front is the clock-wise order) and the cull-face method (GL_FRONT = the front is culled, GL_BACK = the back is culled).
o grSpecs()
Default constructor

ovoid Get()
Retrieves settings from internal opengl status

ochar* Name() const
see grNode

oGLenum CullFace
Face culling method: GL_FRONT or GL_BACK

oGLenum FrontFace
Front face definition: GL_CCW or GL_CW

oGLenum ShadeModel
Face shading model: GL_FLAT or GL_SMOOTH


This class has no child classes.
See Also:
opengl

Alphabetic index HTML hierarchy of classes or Java


GCR, Graphics Library, VCG, IEI-CNR.