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

Public Member Functions

def __init__ ()
 
def setDefaults ()
 

Static Public Member Functions

def __new__ ()
 

Properties

 backFace = property(...)
 
 depthEnable = property(...)
 
 depthFunc = property(...)
 
 depthWriteEnable = property(...)
 
 frontFace = property(...)
 
 stencilEnable = property(...)
 
 stencilReadMask = property(...)
 
 stencilReferenceVal = property(...)
 
 stencilWriteMask = property(...)
 

Detailed Description

Descriptor for a complete depth-stencil state.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Set all values for the depth stencil state to their default values.

Property Documentation

OpenMayaRender.MDepthStencilStateDesc.backFace = property(...)
static
 Sets the stencil op for the back facing fragments
OpenMayaRender.MDepthStencilStateDesc.depthEnable = property(...)
static
 Enables depth buffer reads and compares, default true
OpenMayaRender.MDepthStencilStateDesc.depthFunc = property(...)
static
 Sets the depth buffer comparison function, default less than
OpenMayaRender.MDepthStencilStateDesc.depthWriteEnable = property(...)
static
 Enables depth buffer writes, default true
OpenMayaRender.MDepthStencilStateDesc.frontFace = property(...)
static
 Sets the stencil op for the front facing fragments
OpenMayaRender.MDepthStencilStateDesc.stencilEnable = property(...)
static
 Enables stencil buffer operation
OpenMayaRender.MDepthStencilStateDesc.stencilReadMask = property(...)
static
 Sets a bitwise stencil buffer read mask, default 0xff
OpenMayaRender.MDepthStencilStateDesc.stencilReferenceVal = property(...)
static
 Sets the stencil reference value
OpenMayaRender.MDepthStencilStateDesc.stencilWriteMask = property(...)
static
 Sets a bitwise stencil buffer write mask, default 0xff