WebGPU module

webgpu_format_is_srgb

procedure · 1 overloadSource

Whether writes to format are sRGB-encoded by the GPU.

webgpu_format_is_srgb :: (format: WGPUTextureFormat) -> bool

Whether writes to format are sRGB-encoded by the GPU.

Parameters

format: WGPUTextureFormat

Returns

bool

See also