Python API 2.0 Reference: OpenMayaRender.MStencilOpDesc Class Reference

OpenMayaRender.MStencilOpDesc Class Reference
+ Inheritance diagram for OpenMayaRender.MStencilOpDesc:

Public Member Functions

__init__ ()
 
setDefaults ()
 

Properties

 stencilDepthFailOp
 
 stencilFailOp
 
 stencilFunc
 
 stencilPassOp
 

Detailed Description

Descriptor for a depth-stencil operation.

Constructor & Destructor Documentation

OpenMayaRender.MStencilOpDesc.__init__ ( )
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Member Function Documentation

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

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

Property Documentation

OpenMayaRender.MStencilOpDesc.stencilDepthFailOp
static
 Stencil op to use when the fragment passes the depth test, default kKeepStencil
OpenMayaRender.MStencilOpDesc.stencilFailOp
static
 Stencil op to use when the fragment fails the stencil test, default kKeepStencil
OpenMayaRender.MStencilOpDesc.stencilFunc
static
 Sets the stencil buffer comparison function, default kCompareAlways
OpenMayaRender.MStencilOpDesc.stencilPassOp
static
 Stencil op to use when the fragment passes the stencil test, default kKeepStencil