Render
state
wrapper
for
Tinman.Material.inc
.
sealed class
|
MaterialState
|
public
property
|
HasMaterialTextureDisplacement
{
get
}
|
||
type
|
bool
|
||
value
|
public
readonly
field
|
MaterialD
|
||
type
|
IShaderParameter
|
public
readonly
field
|
MaterialIds
|
||
type
|
IShaderParameter
|
public
readonly
field
|
MaterialOrigin
|
||
type
|
IShaderParameter
|
public
readonly
field
|
MaterialOriginExtra
|
||
type
|
IShaderParameter
|
public
readonly
field
|
MaterialS
|
||
type
|
IShaderParameter
|
public
property
|
MaterialTextureCount
{
get
}
|
||
type
|
int32
|
||
value
|
Creates a new instance of MaterialState.
public
constructor
|
MaterialState
(IShaderEffect effect)
|
||
params
|
effect
|
[not-null]
|
The shader effect. |
Returns a material texture.
public
method
|
MaterialTexture
(int32 index,
bool horizontal,
int32 which)
|
||
type
|
IShaderParameter
|
||
params
|
index
|
[0..MaterialTextureCount-1]
|
The material texture set. |
horizontal
|
Return
horizontal
(true )
or
vertical
(false )
texture?
|
||
which
|
[0..2]
|
Return
one
of
the
following
textures:
0:
albedo-reflectivity.
1:
normal-occlusion-roughness.
2:
displacement.
|
|
returns
|
The material texture. |