RedGPU API - v3.0.0-Alpha
    Preparing search index...

    Class ResourceBase

    The ResourceBase class manages the RedGPUContext instance.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Adds a listener function to the dirty pipeline listeners array. This function will be called when the pipeline becomes dirty.

      Parameters

      • listener: () => void

        The listener function to be added.

      Returns void

    • Fires the dirty listeners list.

      Parameters

      • OptionalresetList: boolean = false

        Indicates whether to reset the dirty listeners list after firing.

      Returns void

    • Removes a dirty pipeline listener from the list of listeners.

      Parameters

      • listener: () => void

        The listener function to be removed.

      Returns void