MaterialDefines

Manages the defines for the Material

Hierarchy

  • MaterialDefines

Index

Properties

isDirty

isDirty: boolean

Specifies if the material needs to be re-calculated

Methods

cloneTo

  • Clones this instance's defines to another instance

    Parameters

    Returns void

isEqual

  • Specifies if two material defines are equal

    Parameters

    Returns boolean

    • Boolean indicating if the material defines are equal (true) or not (false)

markAllAsDirty

  • markAllAsDirty(): void
  • Marks the material to indicate all of its defines need to be re-calculated

    Returns void

markAsAttributesDirty

  • markAsAttributesDirty(): void
  • Marks the attribute state as changed

    Returns void

markAsFresnelDirty

  • markAsFresnelDirty(): void
  • Marks the fresnel state as changed

    Returns void

markAsImageProcessingDirty

  • markAsImageProcessingDirty(): void
  • Marks the material to indicate that image processing needs to be re-calculated

    Returns void

markAsLightDirty

  • markAsLightDirty(): void
  • Marks the material to indicate the lights need to be re-calculated

    Returns void

markAsMiscDirty

  • markAsMiscDirty(): void
  • Marks the misc state as changed

    Returns void

markAsProcessed

  • markAsProcessed(): void
  • Marks the material to indicate that it has been re-calculated

    Returns void

markAsTexturesDirty

  • markAsTexturesDirty(): void
  • Marks the texture state as changed

    Returns void

markAsUnprocessed

  • markAsUnprocessed(): void
  • Marks the material to indicate that it needs to be re-calculated

    Returns void

rebuild

  • rebuild(): void
  • Rebuilds the material defines

    Returns void

reset

  • reset(): void
  • Resets the material define values

    Returns void

toString

  • toString(): string
  • Converts the material define values to a string

    Returns string

    • String of material define information

Generated using TypeDoc