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

Public Member Functions

def __init__ ()
 
def setDefaults ()
 

Static Public Member Functions

def __new__ ()
 

Properties

 alphaToCoverageEnable = property(...)
 
 blendFactor = property(...)
 
 independentBlendEnable = property(...)
 
 multiSampleMask = property(...)
 
 targetBlends = property(...)
 

Detailed Description

Descriptor for a blend state for a single render target.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Property Documentation

OpenMayaRender.MBlendStateDesc.alphaToCoverageEnable = property(...)
static
 Enable alpha to coverage. Default false
OpenMayaRender.MBlendStateDesc.blendFactor = property(...)
static
 Global blend factor, default (1,1,1,1)
OpenMayaRender.MBlendStateDesc.independentBlendEnable = property(...)
static
 Use TargetBlends[0] if false or individual blend states if true. Default false
OpenMayaRender.MBlendStateDesc.multiSampleMask = property(...)
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 = property(...)
static
 An array of 8 MTargetBlendDesc, one for each target