pixi.js
    Preparing search index...

    Interface BindResourceAdvanced

    an interface that allows a resource to be bound to the gpu in a bind group

    interface BindResource {
        _touched: number;
        off(
            event: "change",
            listenerFunction: (resource: BindResource) => void,
            listener: BindGroup,
        ): void;
        on(
            event: "change",
            listenerFunction: (resource: BindResource) => void,
            listener: BindGroup,
        ): void;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    _touched: number

    Methods

    • todo

      Parameters

      Returns void

    • event dispatch whenever the underlying resource needs to change this could be a texture or buffer that has been resized. This is important as it allows the renderer to know that it needs to rebind the resource

      Parameters

      Returns void