Class MaterialPass
Describes a single rendering pass of a Material.
- Inheritance
-
Material
Pass
Constructors
MaterialPass()
Initializes a new instance of the Material
MaterialPass(ParameterCollection)
Initializes a new instance of the Material
Parameters
parameters
ParameterCollection The parameters.
Fields
BlendState
Overrides the blend state for this material.
Field Value
CullMode
Overrides the cullmode for this material.
Field Value
TessellationMethod
The tessellation method used by the material.
Field Value
Properties
AlphaToCoverage
Whether or not to use the alpha-to-coverage multisampling technique.
Property Value
- bool?
HasTransparency
Gets or sets a value indicating whether this instance has transparent.
Property Value
- bool
true
if this instance has transparent; otherwise,false
.
IsLightDependent
Determines if this material is affected by lighting.
Property Value
- bool
true
if this instance affects lighting; otherwise,false
.
Material
The material that contains this pass.
Property Value
Parameters
Gets or sets the parameters.
Property Value
- Parameter
Collection The parameters.
PassIndex
The index of this pass as part of its containing Material.
Property Value
Remarks
Used for state sorting.