OpenMayaRender.MDepthStencilState Class Reference

Class Description

Container class for an acquired complete GPU depth stencil state.
+ Inheritance diagram for OpenMayaRender.MDepthStencilState:

Public Member Functions

__init__ ()
 
desc ()
 
resourceHandle ()
 

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
 

Constructor & Destructor Documentation

OpenMayaRender.MDepthStencilState.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

OpenMayaRender.MDepthStencilState.desc ( )
desc() -> MDepthStencilStateDesc

Get the depth-stencil state descriptor that was used to create the state object.
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.

The documentation for this class was generated from the following file:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMayaRender.py