• Choose a texture size based on the given parameters. The size will be in a multiple of blocks. If it's a cube map the size will so be square.

    Parameters

    • __namedParameters: {
          format: GPUTextureFormat;
          minBlocks: number;
          minSize: number;
          viewDimension?: GPUTextureViewDimension;
      }
      • format: GPUTextureFormat
      • minBlocks: number
      • minSize: number
      • Optional viewDimension?: GPUTextureViewDimension

    Returns number[]

Generated using TypeDoc