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

Data Fields

WGPUChainedStruct chain
 
WGPUTextureComponentSwizzle swizzle
 

Detailed Description

Default values can be set using WGPU_TEXTURE_COMPONENT_SWIZZLE_DESCRIPTOR_INIT as initializer.

Definition at line 4321 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUTextureComponentSwizzleDescriptor::chain

Definition at line 4322 of file webgpu.h.

◆ swizzle

WGPUTextureComponentSwizzle WGPUTextureComponentSwizzleDescriptor::swizzle

The INIT macro sets this to WGPU_TEXTURE_COMPONENT_SWIZZLE_INIT.

Definition at line 4326 of file webgpu.h.