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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUDevice device
 
WGPUTextureFormat format
 
WGPUTextureUsageFlags usage
 
size_t viewFormatCount
 
WGPUTextureFormat const * viewFormats
 
WGPUCompositeAlphaMode alphaMode
 
uint32_t width
 
uint32_t height
 
WGPUPresentMode presentMode
 

Detailed Description

Definition at line 1108 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUSurfaceConfiguration::nextInChain

Definition at line 1109 of file webgpu.h.

◆ device

WGPUDevice WGPUSurfaceConfiguration::device

Definition at line 1110 of file webgpu.h.

◆ format

WGPUTextureFormat WGPUSurfaceConfiguration::format

Definition at line 1111 of file webgpu.h.

◆ usage

WGPUTextureUsageFlags WGPUSurfaceConfiguration::usage

Definition at line 1112 of file webgpu.h.

◆ viewFormatCount

size_t WGPUSurfaceConfiguration::viewFormatCount

Definition at line 1113 of file webgpu.h.

◆ viewFormats

WGPUTextureFormat const* WGPUSurfaceConfiguration::viewFormats

Definition at line 1114 of file webgpu.h.

◆ alphaMode

WGPUCompositeAlphaMode WGPUSurfaceConfiguration::alphaMode

Definition at line 1115 of file webgpu.h.

◆ width

uint32_t WGPUSurfaceConfiguration::width

Definition at line 1116 of file webgpu.h.

◆ height

uint32_t WGPUSurfaceConfiguration::height

Definition at line 1117 of file webgpu.h.

◆ presentMode

WGPUPresentMode WGPUSurfaceConfiguration::presentMode

Definition at line 1118 of file webgpu.h.