WebGPU Native  v0.1.0
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 1115 of file webgpu.h.

Field Documentation

◆ alphaMode

WGPUCompositeAlphaMode WGPUSurfaceConfiguration::alphaMode

Definition at line 1122 of file webgpu.h.

◆ device

WGPUDevice WGPUSurfaceConfiguration::device

Definition at line 1117 of file webgpu.h.

◆ format

WGPUTextureFormat WGPUSurfaceConfiguration::format

Definition at line 1118 of file webgpu.h.

◆ height

uint32_t WGPUSurfaceConfiguration::height

Definition at line 1124 of file webgpu.h.

◆ nextInChain

WGPUChainedStruct const* WGPUSurfaceConfiguration::nextInChain

Definition at line 1116 of file webgpu.h.

◆ presentMode

WGPUPresentMode WGPUSurfaceConfiguration::presentMode

Definition at line 1125 of file webgpu.h.

◆ usage

WGPUTextureUsageFlags WGPUSurfaceConfiguration::usage

Definition at line 1119 of file webgpu.h.

◆ viewFormatCount

size_t WGPUSurfaceConfiguration::viewFormatCount

Definition at line 1120 of file webgpu.h.

◆ viewFormats

WGPUTextureFormat const* WGPUSurfaceConfiguration::viewFormats

Definition at line 1121 of file webgpu.h.

◆ width

uint32_t WGPUSurfaceConfiguration::width

Definition at line 1123 of file webgpu.h.


The documentation for this struct was generated from the following file: