IEffectFallbacks

Interface used to define common properties for effect fallbacks

Hierarchy

  • IEffectFallbacks

Implemented by

Index

Properties

Methods

Properties

hasMoreFallbacks

Find examples in Playground
hasMoreFallbacks: boolean

Checks to see if more fallbacks are still availible.

Methods

reduce

Find examples in Playground
  • reduce(currentDefines: string, effect: Effect): string
  • Removes the defines that should be removed when falling back.

    Parameters

    • currentDefines: string

      defines the current define statements for the shader.

    • effect: Effect

      defines the current effect we try to compile

    Returns string

    The resulting defines with defines of the current rank removed.

unBindMesh

Find examples in Playground
  • unBindMesh(): void
  • Removes the fallback from the bound mesh.

    Returns void

Generated using TypeDoc