MaterialObject::GetTextureBlendMode
Defined in: C4MaterialObjects.h
Returns the texture blend mode.
Prototype
TextureBlendMode GetTextureBlendMode(void) const;
Description
The GetTextureBlendMode function returns the mode used when blending two diffuse texture maps in a material. The blend mode can be one of the following values.
kTextureBlendAdd |
Add the texture values.
|
kTextureBlendAverage |
Average the texture values.
|
kTextureBlendMultiply |
Multiply the texture values.
|
kTextureBlendVertexAlpha |
Blend the texture values using the interpolated vertex alpha.
|
kTextureBlendPrimaryAlpha |
Blend the texture values using the alpha channel from the primary texture.
|
kTextureBlendSecondaryAlpha |
Blend the texture values using the alpha channel from the secondary texture.
|
kTextureBlendPrimaryInverseAlpha |
Blend the texture values using the inverse of the alpha channel from the primary texture.
|
kTextureBlendSecondaryInverseAlpha |
Blend the texture values using the inverse of the alpha channel from the secondary texture.
|
See Also
MaterialObject::SetTextureBlendMode
|