DepthTestAttrib

from panda3d.core import DepthTestAttrib
class DepthTestAttrib

Bases: RenderAttrib

Enables or disables writing to the depth buffer.

Inheritance diagram

Inheritance diagram of DepthTestAttrib

__init__(*args, **kwargs)
class_slot = 14
getClassSlot()

C++ Interface: get_class_slot()

getClassType()

C++ Interface: get_class_type()

getMode()

C++ Interface: get_mode(DepthTestAttrib 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(DepthTestAttrib self)

/**
  • Returns the depth write mode.

*/

make()

C++ Interface: make(int mode)

/**
  • Constructs a new DepthTestAttrib 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