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

    Class Input

    Input resources.

    Hierarchy

    Implements

    Index

    Constructors

    Properties

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

    A collection of macro definitions.

    gBuffer: Set<string>

    Required GBuffer components.

    GBuffer.COLOR is included by default.

    textures: Map<string, TextureResource>

    Input textures.

    Entries specified in gBuffer will be added automatically.

    uniforms: Map<string, IUniform<any>>

    A collection of uniforms.

    BUFFER_DEFAULT: "BUFFER_DEFAULT"

    Identifies the default input buffer in the textures collection.

    Accessors

    • get frameBufferPrecisionHigh(): boolean

      Indicates whether the default buffer uses high precision.

      Returns boolean

    • get hasDefaultBuffer(): boolean

      Indicates whether a default input buffer has been set.

      Returns boolean

    Methods

    • Retrieves a buffer.

      Parameters

      • key: string

        A buffer key.

      Returns Texture<unknown> | null

      The buffer, or null if it doesn't exist.

    • Removes the default buffer.

      Returns boolean

      True if the buffer existed and has been removed, or false if it doesn't exist.