WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 3144 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceColorManagement::chain

Definition at line 3145 of file webgpu.h.

◆ colorSpace

WGPUPredefinedColorSpace WGPUSurfaceColorManagement::colorSpace

The INIT macro sets this to (WGPUPredefinedColorSpace)0.

Definition at line 3149 of file webgpu.h.

◆ toneMappingMode

WGPUToneMappingMode WGPUSurfaceColorManagement::toneMappingMode

The INIT macro sets this to (WGPUToneMappingMode)0.

Definition at line 3153 of file webgpu.h.