WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUSurfaceColorManagement Struct Reference

Data Fields

WGPUChainedStruct chain
 
WGPUPredefinedColorSpace colorSpace
 
WGPUToneMappingMode toneMappingMode
 

Detailed Description

Extension of WGPUSurfaceConfiguration for color spaces and HDR.

Default values can be set using WGPU_SURFACE_COLOR_MANAGEMENT_INIT as initializer.

Definition at line 3130 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceColorManagement::chain

Definition at line 3131 of file webgpu.h.

◆ colorSpace

WGPUPredefinedColorSpace WGPUSurfaceColorManagement::colorSpace

The INIT macro sets this to (WGPUPredefinedColorSpace)0.

Definition at line 3135 of file webgpu.h.

◆ toneMappingMode

WGPUToneMappingMode WGPUSurfaceColorManagement::toneMappingMode

The INIT macro sets this to (WGPUToneMappingMode)0.

Definition at line 3139 of file webgpu.h.