DepthWriteAttrib

class DepthWriteAttrib

Bases: RenderAttrib

Enables or disables writing to the depth buffer.

Inheritance diagram

Inheritance diagram of DepthWriteAttrib

enum Mode
enumerator M_off = 0
enumerator M_on = 1
static DepthWriteAttrib.get_class_slot()
static DepthWriteAttrib.get_class_type()
DepthWriteAttrib.get_mode()

Returns the depth write mode.

static DepthWriteAttrib.make()

Constructs a new DepthWriteAttrib object.

static DepthWriteAttrib.make_default()

Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.