Class IndexBuffer

Hierarchy

  • ABaseBuffer
    • IndexBuffer

Constructors

Properties

"[GPU_BUFFER_CACHE_KEY]": string
"[GPU_BUFFER_DATA_SYMBOL]": Uint32Array
"[GPU_BUFFER_SYMBOL]": GPUBuffer

Accessors

  • get gpuDevice(): GPUDevice

    Retrieves the GPU device associated with the current instance.

    Returns GPUDevice

    The GPU device.

  • get uuid(): string

    Retrieves the UUID of the object.

    Returns string

    The UUID of the object.

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