Python API 2.0 Reference: OpenMayaRender.MBlendStateDesc Class Reference

+ Inheritance diagram for OpenMayaRender.MBlendStateDesc:

Public Member Functions

__init__ ()
 
setDefaults ()
 

Properties

 alphaToCoverageEnable
 
 blendFactor
 
 independentBlendEnable
 
 multiSampleMask
 
 targetBlends
 

Detailed Description

Descriptor for a blend state for a single render target.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Set all values for the blend state to their default values.

Property Documentation

OpenMayaRender.MBlendStateDesc.alphaToCoverageEnable
static
 Enable alpha to coverage. Default false
OpenMayaRender.MBlendStateDesc.blendFactor
static
 Global blend factor, default (1,1,1,1)
OpenMayaRender.MBlendStateDesc.independentBlendEnable
static
 Use TargetBlends[0] if false or individual blend states if true. Default false
OpenMayaRender.MBlendStateDesc.multiSampleMask
static
 Each bit in this mask, starting at the least significant bit (LSB), controls modification of one of the samples in a multisample render target
OpenMayaRender.MBlendStateDesc.targetBlends
static
 An array of 8 MTargetBlendDesc, one for each target