Renderer · type

CompressedTextureFormat

A format as a device offers it: the colour space is part of the name, as WebGPU's are.

Explained in Hello world.

type CompressedTextureFormat = BlockFormat | `${Exclude<BlockFormat, LinearOnly>}-srgb`
import type { CompressedTextureFormat } from '@driftengine/core';