pixi.js
    Preparing search index...

    Class GpuTextureSystemAdvanced

    The system that handles textures for the GPU.

    Implements

    Index
    • Generic destroy methods to be overridden by the subclass

      Returns void

    • The multisampled texture an antialiased texture is drawn into, made on first use. It belongs to the texture, so every render target over the texture shares its samples, and it goes with the texture's GPU texture: when the texture is destroyed, unloaded or resized.

      Parameters

      Returns GpuMsaaTexture

      its multisampled texture

    • this returns s bind group for a specific texture, the bind group contains

      • the texture source
      • the texture style
      • the texture matrix This is cached so the bind group should only be created once per texture

      Parameters

      • texture: Texture

        the texture you want the bindgroup for

      Returns BindGroup

      the bind group for the texture

    • Parameters

      • texture: BindableTexture
      • mipLevel: number = 0
      • layer: number = 0
      • OptionalviewDescriptor: GPUTextureViewDescriptor

      Returns GPUTextureView

    • Initializes a texture source, if it has already been initialized nothing will happen.

      Parameters

      Returns GPUTexture

      The initialized texture source.