Renderer · function

compressedFormatName

The format a device would have to offer, or null for one with no sRGB form.

Explained in Hello world.

function compressedFormatName(format: BlockFormat, srgb: boolean): CompressedTextureFormat | null
import { compressedFormatName } from '@driftengine/core';

Parameters

ParameterTypeDescription
formatBlockFormat
srgbboolean