Filled by wgpuSurfaceGetCapabilities
with what's supported for wgpuSurfaceConfigure
for a pair of WGPUSurface and WGPUAdapter.
Default values can be set using WGPU_SURFACE_CAPABILITIES_INIT as initializer.
Definition at line 2835 of file webgpu.h.
◆ nextInChain
◆ usages
WGPUTextureUsage WGPUSurfaceCapabilities::usages |
The bit set of supported WGPUTextureUsage bits. Guaranteed to contain WGPUTextureUsage_RenderAttachment.
Defaults to WGPUTextureUsage_None.
Definition at line 2843 of file webgpu.h.
◆ formatCount
size_t WGPUSurfaceCapabilities::formatCount |
◆ formats
◆ presentModeCount
size_t WGPUSurfaceCapabilities::presentModeCount |
◆ presentModes
◆ alphaModeCount
size_t WGPUSurfaceCapabilities::alphaModeCount |
◆ alphaModes