DepthWriteAttrib
from panda3d.core import DepthWriteAttrib
- class DepthWriteAttrib
Bases:
Bases:
RenderAttribEnables or disables writing to the depth buffer.
Inheritance diagram
- static getClassType() TypeHandle
- getMode() Mode
Returns the depth write mode.
- static make(mode: Mode) RenderAttrib
Constructs a new
DepthWriteAttribobject.
- static makeDefault() RenderAttrib
Returns a
RenderAttribthat corresponds to whatever the standard default properties for render attributes of this type ought to be.
- property mode Mode
Returns the depth write mode.
