@pmndrs/reflections
    Preparing search index...

    Function wrapGPUBuffer

    • A core-owned GPUBuffer (STORAGE usage) as what Babylon binds for a var<storage, read> of a material shader (engine.setStorageBuffer(name, wrapped)), sharing the buffer. Babylon's StorageBuffer always allocates its own; its DataBuffer holds the GPUBuffer in underlyingResource / capacity.

      Parameters

      • buffer: GPUBuffer

      Returns WrappedStorageBuffer