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

Data Fields

WGPUChainedStructnextInChain
 
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 2558 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPURenderBundleEncoderDescriptor::nextInChain

Definition at line 2559 of file webgpu.h.

◆ label

WGPUStringView WGPURenderBundleEncoderDescriptor::label

This is a Non-Null Input String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 2565 of file webgpu.h.

◆ colorFormatCount

size_t WGPURenderBundleEncoderDescriptor::colorFormatCount

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

Definition at line 2569 of file webgpu.h.

◆ colorFormats

WGPUTextureFormat const* WGPURenderBundleEncoderDescriptor::colorFormats

The INIT macro sets this to NULL.

Definition at line 2573 of file webgpu.h.

◆ depthStencilFormat

WGPUTextureFormat WGPURenderBundleEncoderDescriptor::depthStencilFormat

The INIT macro sets this to WGPUTextureFormat_Undefined.

Definition at line 2577 of file webgpu.h.

◆ sampleCount

uint32_t WGPURenderBundleEncoderDescriptor::sampleCount

The INIT macro sets this to 1.

Definition at line 2581 of file webgpu.h.

◆ depthReadOnly

WGPUBool WGPURenderBundleEncoderDescriptor::depthReadOnly

The INIT macro sets this to 0.

Definition at line 2585 of file webgpu.h.

◆ stencilReadOnly

WGPUBool WGPURenderBundleEncoderDescriptor::stencilReadOnly

The INIT macro sets this to 0.

Definition at line 2589 of file webgpu.h.