Public Member Functions | |
void | Init (void) |
Public Attributes | |
TMCColorRGB | fDiffuseColor |
TMCColorRGB | fEmissiveColor |
TMCColorRGB | fAmbientColor |
TMCColorRGB | fSpecularColor |
real | fSpecularIntensity |
real | fSpecularCoeff |
real | fOpacity |
TMCColorRGB | fReflection |
uint32 | fShaderChangeCounter |
This class represents an approximation to the basic shader properties for an object. Use the diffuse color when a single representative color is desired.
void TShadingApproximation::Init | ( | void | ) | [inline] |
this is an incrementing counter advanced each time the surface changes the counter is used by the renderer to determine whether it's local cache is invalid