Click or drag to resize
MaterialDirtyFlags Enumeration
Track which material parameters need to be recomputed during the next OnApply.

Namespace:  GeonBit.Core.Graphics.Materials
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public enum MaterialDirtyFlags
Members
  Member nameValueDescription
World1 Change in world matrix.
LightSources2 Change in light sources, not including ambient or emissive.
MaterialColors4 Change in material color params (can be diffuse, specular, etc. This includes specular power as well.)
Alpha8 Change in material alpha.
TextureParams16 Change in texture, texture enabled, or other texture-related params.
LightingParams32 Lighting params changed (enabled disabled / smooth lighting mode).
Fog64 Change in fog-related params.
AlphaTest128 Chage in alpha-test related params.
Bones256 Change in skinned mesh bone transformations.
AmbientLight512 Change in ambient light color.
EmissiveLight1024 Change in emissive light color.
All2147483647 All dirty flags.
See Also