• Compute the maximum mip level count allowed for a given texture size and texture dimension.

    Parameters

    • __namedParameters: {
          dimension?: GPUTextureDimension;
          size: readonly number[] | Readonly<GPUExtent3DDict>;
      }
      • Optional Readonly dimension?: GPUTextureDimension
      • Readonly size: readonly number[] | Readonly<GPUExtent3DDict>

    Returns number

Generated using TypeDoc