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

Data Fields

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

Detailed Description

Default values can be set using WGPU_RENDER_BUNDLE_ENCODER_DESCRIPTOR_INIT as initializer.

Definition at line 2360 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPURenderBundleEncoderDescriptor::nextInChain

Definition at line 2361 of file webgpu.h.

◆ label

WGPUStringView WGPURenderBundleEncoderDescriptor::label

This is a Non-Null Input String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 2367 of file webgpu.h.

◆ colorFormatCount

size_t WGPURenderBundleEncoderDescriptor::colorFormatCount

Defaults to NULL.

Definition at line 2371 of file webgpu.h.

◆ colorFormats

WGPUTextureFormat const* WGPURenderBundleEncoderDescriptor::colorFormats

Definition at line 2372 of file webgpu.h.

◆ depthStencilFormat

WGPUTextureFormat WGPURenderBundleEncoderDescriptor::depthStencilFormat

Defaults to WGPUTextureFormat_Undefined.

Definition at line 2376 of file webgpu.h.

◆ sampleCount

uint32_t WGPURenderBundleEncoderDescriptor::sampleCount

Defaults to 1.

Definition at line 2380 of file webgpu.h.

◆ depthReadOnly

WGPUBool WGPURenderBundleEncoderDescriptor::depthReadOnly

Defaults to 0.

Definition at line 2384 of file webgpu.h.

◆ stencilReadOnly

WGPUBool WGPURenderBundleEncoderDescriptor::stencilReadOnly

Defaults to 0.

Definition at line 2388 of file webgpu.h.