webgpu-utils

    Function getSizeForMipFromTexture

    • Gets the size of a mipLevel. Returns an array of 3 numbers [width, height, depthOrArrayLayers]

      Parameters

      • texture: GPUTexture
      • mipLevel: number

      Returns number[]

    MMNEPVFCICPMFPCPTTAAATR