class grDepth: public grNode

Z-Buffer specification node

Inheritance:


Public Fields

[more]GLenum func
Buffer compare function, values: GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL,GL_GEQUAL,GL_ALWAYS
[more]GLboolean writing
Enables or disables writing into the depth buffer
[more]GLclampd znear
Z-Buffer depth range start: min value = -1
[more]GLclampd zfar
Z-Buffer depth range end: max vaule = 1

Public Methods

[more] grDepth()
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

Z-Buffer specification node. This node manipulates the z-buffer behaviour.
o grDepth()
Default constructor

ovoid Get()
Retrieves settings from internal opengl status

ochar* Name() const
see grNode

oGLenum func
Buffer compare function, values: GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL,GL_GEQUAL,GL_ALWAYS

oGLboolean writing
Enables or disables writing into the depth buffer

oGLclampd znear
Z-Buffer depth range start: min value = -1

oGLclampd zfar
Z-Buffer depth range end: max vaule = 1


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


GCR, Graphics Library, VCG, IEI-CNR.