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 | nullimport { compressedFormatName } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
format | BlockFormat | |
srgb | boolean |