class DepthTestAttrib

Bases: RenderAttrib

Enables or disables writing to the depth buffer.

Inheritance diagram

Inheritance diagram of DepthTestAttrib

static int get_class_slot(void)
static TypeHandle get_class_type(void)
RenderAttrib::PandaCompareFunc get_mode(void) const

Returns the depth write mode.

static ConstPointerTo<RenderAttrib> make(RenderAttrib::PandaCompareFunc mode)

Constructs a new DepthTestAttrib object.

static ConstPointerTo<RenderAttrib> make_default(void)

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