Struct MaterialDirtied

Argument to the Material.onDirtied Event.

struct MaterialDirtied ;

Fields

NameTypeDescription
shader ShaderThe Shader that changed.
texture TextureThe Texture that changed.

Properties

NameTypeDescription
shaderChanged[get] boolWhether a Material was dirtied because one of its Shader changed.
textureChanged[get] boolWhether a textured Material was dirtied because its Texture changed.

See Also

Material.dirtied