DepthWriteAttrib

from panda3d.core import DepthWriteAttrib
class DepthWriteAttrib

Bases: RenderAttrib

Enables or disables writing to the depth buffer.

Inheritance diagram

Inheritance diagram of DepthWriteAttrib

MOff = 0
MOn = 1
M_off = 0
M_on = 1
__init__(*args, **kwargs)
class_slot = 15
getClassSlot()

C++ Interface: get_class_slot()

getClassType()

C++ Interface: get_class_type()

getMode()

C++ Interface: get_mode(DepthWriteAttrib self)

/**
  • Returns the depth write mode.

*/

get_class_slot()

C++ Interface: get_class_slot()

get_class_type()

C++ Interface: get_class_type()

get_mode()

C++ Interface: get_mode(DepthWriteAttrib self)

/**
  • Returns the depth write mode.

*/

make()

C++ Interface: make(int mode)

/**
  • Constructs a new DepthWriteAttrib object.

*/

makeDefault()

C++ Interface: make_default()

/**
  • Returns a RenderAttrib that corresponds to whatever the standard default

  • properties for render attributes of this type ought to be.

*/

make_default()

C++ Interface: make_default()

/**
  • Returns a RenderAttrib that corresponds to whatever the standard default

  • properties for render attributes of this type ought to be.

*/

mode