Enables or disables writing to the depth buffer. More...
Public Member Functions | |
PandaCompareFunc | getMode () |
Returns the depth write mode. | |
Static Public Member Functions | |
static int | getClassSlot () |
static TypeHandle | getClassType () |
static RenderAttrib const | make (PandaCompareFunc mode) |
Constructs a new DepthTestAttrib object. | |
static RenderAttrib const | makeDefault () |
Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be. |
Enables or disables writing to the depth buffer.
static int getClassSlot | ( | ) | [static] |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from RenderAttrib.
Returns the depth write mode.
static RenderAttrib const make | ( | PandaCompareFunc | mode | ) | [static] |
Constructs a new DepthTestAttrib object.
static RenderAttrib const makeDefault | ( | ) | [static] |
Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.