Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Static Public Member Functions
DepthWriteAttrib Class Reference

Enables or disables writing to the depth buffer. More...

Inheritance diagram for DepthWriteAttrib:
RenderAttrib TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject

List of all members.

Public Types

enum  Mode { MOff = 0, MOn = 1 }

Public Member Functions

Mode getMode ()
 Returns the depth write mode.

Static Public Member Functions

static int getClassSlot ()
static TypeHandle getClassType ()
static RenderAttrib const make (Mode mode)
 Constructs a new DepthWriteAttrib object.
static RenderAttrib const makeDefault ()
 Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.

Detailed Description

Enables or disables writing to the depth buffer.


Member Enumeration Documentation

enum Mode
Enumerator:
MOff 
MOn 

Member Function Documentation

static int getClassSlot ( ) [static]
static TypeHandle getClassType ( ) [static]

Reimplemented from RenderAttrib.

Returns the depth write mode.

static RenderAttrib const make ( Mode  mode) [static]

Constructs a new DepthWriteAttrib object.

static RenderAttrib const makeDefault ( ) [static]

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

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties