WebGPU Headers: WGPURenderBundleEncoderDescriptor Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUStringView label
 
size_t colorFormatCount
 
WGPUTextureFormat const * colorFormats
 
WGPUTextureFormat depthStencilFormat
 
uint32_t sampleCount
 
WGPUBool depthReadOnly
 
WGPUBool stencilReadOnly
 

Default values can be set using WGPU_RENDER_BUNDLE_ENCODER_DESCRIPTOR_INIT as initializer.

Definition at line 2517 of file webgpu.h.

◆ nextInChain

◆ label

◆ colorFormatCount

size_t WGPURenderBundleEncoderDescriptor::colorFormatCount

Array count for colorFormats. The INIT macro sets this to 0.

Definition at line 2528 of file webgpu.h.

◆ colorFormats

The INIT macro sets this to NULL.

Definition at line 2532 of file webgpu.h.

◆ depthStencilFormat

◆ sampleCount

uint32_t WGPURenderBundleEncoderDescriptor::sampleCount

The INIT macro sets this to 1.

Definition at line 2540 of file webgpu.h.

◆ depthReadOnly

WGPUBool WGPURenderBundleEncoderDescriptor::depthReadOnly

The INIT macro sets this to WGPU_FALSE.

Definition at line 2544 of file webgpu.h.

◆ stencilReadOnly

WGPUBool WGPURenderBundleEncoderDescriptor::stencilReadOnly

The INIT macro sets this to WGPU_FALSE.

Definition at line 2548 of file webgpu.h.