This article is an overview of render state/mode related constants.
Render modes.
Constant
|
Description
|
rs_fill
|
Fill the entire shape.
|
rs_line
|
Only draw the edges of each face.
|
rs_point
|
Only draw each vertex as a single point.
|
|
Face modes.
rs_front
|
rs_back
|
rs_front_back
|
|
Culling orientations.
rs_clockwise
|
rs_counterclockwise
|
|
Quality consants, generally for use with *_hint functions.
rs_nicest
|
rs_fastest
|
rs_dontcare
|
|
Used for fog mode.
|
These are various operator constants used for the depth buffer.
Constant
|
Description
|
rs_never
|
Always False
|
rs_less
|
source Z < depth Z
|
rs_equal
|
source Z = depth Z
|
rs_lequal
|
source Z <= depth Z
|
rs_greater
|
source Z > depth Z
|
rs_notequal
|
source Z != depth Z
|
rs_gequal
|
source Z >= depth Z
|
rs_always
|
Always True
|
|