DepthTestAttrib
from panda3d.core import DepthTestAttrib
- class DepthTestAttrib
Bases:
Bases:
RenderAttrib
Enables or disables writing to the depth buffer.
Inheritance diagram
- static get_class_type() TypeHandle
- get_mode() PandaCompareFunc
Returns the depth write mode.
- static make(mode: PandaCompareFunc) RenderAttrib
Constructs a new
DepthTestAttrib
object.
- static make_default() RenderAttrib
Returns a
RenderAttrib
that corresponds to whatever the standard default properties for render attributes of this type ought to be.
- property mode PandaCompareFunc
Returns the depth write mode.