@pmndrs/reflections
    Preparing search index...

    Function wrapGPUTexture

    • A core-owned GPUTexture as a Babylon InternalTexture sharing the allocation (no copy). Babylon picks its bind-group sample type from type (32-bit float textures it can't filter bind as 'unfilterable-float'), so the wrapper's type and format are set from the GPU format.

      Parameters

      • engine: AbstractEngine
      • texture: GPUTexture

      Returns InternalTexture