MaterialObject::GetMaterialFlags
Defined in: C4MaterialObjects.h
Returns the material flags.
Prototype
unsigned long GetMaterialFlags(void) const;
Description
The GetMaterialFlags function returns the material flags, which can be a combination (through logical OR) of the following values.
kMaterialTwoSided |
The material is rendered two-sided.
|
kMaterialAlphaTest |
Use alpha testing with the material.
|
kMaterialEmissionGlow |
The emission term contributes to the glow post-processing effect.
|
kMaterialSpecularBloom |
The specular term contributes to the bloom post-processing effect.
|
kMaterialVertexAmbientOcclusion |
Apply per-vertex ambient occlusion using the alpha channel of the vertex color.
|
kMaterialAlphaCoverage |
Use the alpha value to control multisample coverage.
|
kMaterialSampleShading |
Enable per-sample fragment shading if available. (This can have a significant performance impact.)
|
kMaterialAnimateTexcoord0 |
Apply animation to the primary texcoord.
|
kMaterialAnimateTexcoord1 |
Apply animation to the secondary texcoord.
|
See Also
MaterialObject::SetMaterialFlags
|