Class MaterialDefines
Hierarchy
- MaterialDefines
Indexable
Manages the defines for the Material
Index
Accessors
is Dirty
-
Specifies if the material needs to be re-calculated
Returns boolean
Methods
clone ToSearch playground for cloneTo
-
Clones this instance's defines to another instance
Parameters
-
other: MaterialDefines
material defines to clone values to
Returns void
-
is EqualSearch playground for isEqual
-
Specifies if two material defines are equal
Parameters
-
other: MaterialDefines
A material define instance to compare to
Returns boolean
- Boolean indicating if the material defines are equal (true) or not (false)
-
mark All AsDirtySearch playground for markAllAsDirty
-
Marks the material to indicate all of its defines need to be re-calculated
Returns void
mark AsAttributes DirtySearch playground for markAsAttributesDirty
-
Marks the attribute state as changed
Returns void
mark AsFresnel DirtySearch playground for markAsFresnelDirty
-
Marks the fresnel state as changed
Returns void
mark AsImage Processing DirtySearch playground for markAsImageProcessingDirty
-
Marks the material to indicate that image processing needs to be re-calculated
Returns void
mark AsLight DirtySearch playground for markAsLightDirty
-
Marks the material to indicate the lights need to be re-calculated
Parameters
-
Optional disposed: boolean
Defines whether the light is dirty due to dispose or not
Returns void
-
mark AsMisc DirtySearch playground for markAsMiscDirty
-
Marks the misc state as changed
Returns void
mark AsPre Pass DirtySearch playground for markAsPrePassDirty
-
Marks the prepass state as changed
Returns void
mark AsProcessedSearch playground for markAsProcessed
-
Marks the material to indicate that it has been re-calculated
Returns void
mark AsTextures DirtySearch playground for markAsTexturesDirty
-
Marks the texture state as changed
Returns void
mark AsUnprocessedSearch playground for markAsUnprocessed
-
Marks the material to indicate that it needs to be re-calculated
Returns void
rebuildSearch playground for rebuild
-
Rebuilds the material defines
Returns void
resetSearch playground for reset
-
Resets the material define values
Returns void
to StringSearch playground for toString
-
Converts the material define values to a string
Returns string
- String of material define information
Manages the defines for the Material