postprocessing - v7.0.0-beta.16
    Preparing search index...

    Class EffectMaterial

    An effect material.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.

      Returns void

      Material#dispose

    • Sets the shader macros.

      Macros that have previously been set will be removed before the new ones are added.

      Parameters

      • defines: Map<string, string | number | boolean>

        A collection of preprocessor macro definitions.

      Returns this

      This material.

    • Sets the shader uniforms.

      Uniforms that have previously been set will be removed before the new ones are added.

      Parameters

      • uniforms: Map<string, IUniform<any>>

        A collection of uniforms.

      Returns this

      This material.