Python API 2.0 Reference: OpenMayaRender.MTargetBlendDesc Class Reference

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

Public Member Functions

__init__ ()
 
setDefaults ()
 

Properties

 alphaBlendOperation
 
 alphaDestinationBlend
 
 alphaSourceBlend
 
 blendEnable
 
 blendOperation
 
 destinationBlend
 
 sourceBlend
 
 targetWriteMask
 

Detailed Description

Descriptor for a blend state for a single render target.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Property Documentation

OpenMayaRender.MTargetBlendDesc.alphaBlendOperation
static
 The blend operation for alpha, default is add
OpenMayaRender.MTargetBlendDesc.alphaDestinationBlend
static
 The blend factor for the destination alpha, default is zero
OpenMayaRender.MTargetBlendDesc.alphaSourceBlend
static
 The blend factor for the source alpha, default is one
OpenMayaRender.MTargetBlendDesc.blendEnable
static
 Enable blending on this target, default is False
OpenMayaRender.MTargetBlendDesc.blendOperation
static
 The blend operation, default is add
OpenMayaRender.MTargetBlendDesc.destinationBlend
static
 The blend factor for the destination color, default is zero
OpenMayaRender.MTargetBlendDesc.sourceBlend
static
 The blend factor for the source color, default is one
OpenMayaRender.MTargetBlendDesc.targetWriteMask
static
 Indicates what color components(red, green, blue, alpha) are writable, the default is RGBA