Wraps a render pass in a shader technique.
sealed class
|
ShaderPass
|
implements
|
IComparable<ShaderPass>
|
See also:
IShaderTechniqueZero-based pass index.
public
readonly
field
|
Index
|
||
type
|
int32
|
See also:
IShaderTechnique.PassCountThe
pass
name
(never
null
).
public
readonly
field
|
Name
|
||
type
|
string
|
Creates a new instance of ShaderPass.
public
constructor
|
ShaderPass
(int32 index,
string name = null)
|
||
params
|
index
|
[>=0]
|
The zero-based pass index. |
name
|
The
pass
name.
Defaults
to
null . |
Compares this object with the given one.
[Pure]
|
||||
public
method
|
CompareTo
(ShaderPass other)
|
|||
type
|
int32
|
|||
params
|
other
|
The object to compare to. | ||
returns
|
<
0
:
if
this
object
is
less
than
other, = 0 : if this object is equal to other, > 0 : if this object is greater than other. |
|||
implements
|
IComparable.CompareTo
|