OpenMayaRender.MDepthStencilStateDesc Class Reference

OpenMayaRender.MDepthStencilStateDesc Class Reference

Class Description

Descriptor for a complete depth-stencil state.
+ Inheritance diagram for OpenMayaRender.MDepthStencilStateDesc:

Public Member Functions

__init__ ()
 
setDefaults ()
 

Properties

 backFace
 
 depthEnable
 
 depthFunc
 
 depthWriteEnable
 
 frontFace
 
 stencilEnable
 
 stencilReadMask
 
 stencilReferenceVal
 
 stencilWriteMask
 

Constructor & Destructor Documentation

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

Member Function Documentation

OpenMayaRender.MDepthStencilStateDesc.setDefaults ( )
setDefaults() -> self

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

Property Documentation

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