OpenMayaRender.MRasterizerStateDesc Class Reference

OpenMayaRender.MRasterizerStateDesc Class Reference

Class Description

Descriptor for a complete rasterizer state.
+ Inheritance diagram for OpenMayaRender.MRasterizerStateDesc:

Public Member Functions

__init__ ()
 
setDefaults ()
 

Properties

 antialiasedLineEnable
 
 cullMode
 
 depthBias
 
 depthBiasClamp
 
 depthBiasIsFloat
 
 depthClipEnable
 
 fillMode
 
 frontCounterClockwise
 
 multiSampleEnable
 
 scissorEnable
 
 slopeScaledDepthBias
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Property Documentation

OpenMayaRender.MRasterizerStateDesc.antialiasedLineEnable
static
 Enables HW anti-aliased lines, auto disabled by multi-sample AA, default false
OpenMayaRender.MRasterizerStateDesc.cullMode
static
 Select the face culling mode, default kCullNone
OpenMayaRender.MRasterizerStateDesc.depthBias
static
 DepthBias adds the given bias value to the rasterizer z value prior to depth testing
OpenMayaRender.MRasterizerStateDesc.depthBiasClamp
static
 Maximum value scaled depth bias can attain, default 0
OpenMayaRender.MRasterizerStateDesc.depthBiasIsFloat
static
 Indicates that DepthBias is a float value, default false
OpenMayaRender.MRasterizerStateDesc.depthClipEnable
static
 Enables HW automatic depth clipping, default true
OpenMayaRender.MRasterizerStateDesc.fillMode
static
 Select the primitive fill mode, default kFillSolid
OpenMayaRender.MRasterizerStateDesc.frontCounterClockwise
static
 Select whether CW or CCW winding is used for "front" face, default false
OpenMayaRender.MRasterizerStateDesc.multiSampleEnable
static
 Enables HW full screen multi-sample anti-aliasing, default false
OpenMayaRender.MRasterizerStateDesc.scissorEnable
static
 Enables HW scissor clip rectangle, default false
OpenMayaRender.MRasterizerStateDesc.slopeScaledDepthBias
static
 Slope scaled depth bias value, default 0