Python API 2.0 Reference
OpenMayaRender.MDepthStencilState Class Reference
+ Inheritance diagram for OpenMayaRender.MDepthStencilState:

Public Member Functions

def __init__ ()
 
def desc ()
 
def resourceHandle ()
 

Static Public Member Functions

def __new__ ()
 

Static Public Attributes

int kDecrementStencil = 8
 
int kDecrementStencilSat = 5
 
int kIncrementStencil = 7
 
int kIncrementStencilSat = 4
 
int kInvertStencil = 6
 
int kKeepStencil = 1
 
int kReplaceStencil = 3
 
int kZeroStencil = 2
 

Detailed Description

Container class for an acquired complete GPU depth stencil state.

Constructor & Destructor Documentation

def OpenMayaRender.MDepthStencilState.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMayaRender.MDepthStencilState.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
def OpenMayaRender.MDepthStencilState.desc ( )
desc() -> MDepthStencilStateDesc

Get the depth-stencil state descriptor that was used to create the state object.
def OpenMayaRender.MDepthStencilState.resourceHandle ( )
resourceHandle() -> long

Returns a long containing a C++ 'void' pointer which points to the draw API dependent handle for a depth-stencil state.
For OpenGL, such a handle does not exist and a NULL pointer will be returned.
For DirectX, a pointer to a Direct3D state will be returned.