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

Data Fields

WGPUChainedStructnextInChain
 
WGPUShaderModule WGPUStringView entryPoint
 
size_t constantCount
 
WGPUConstantEntry const * constants
 
size_t targetCount
 
WGPUColorTargetState const * targets
 

Detailed Description

Default values can be set using WGPU_FRAGMENT_STATE_INIT as initializer.

Definition at line 4411 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUFragmentState::nextInChain

Definition at line 4412 of file webgpu.h.

◆ entryPoint

WGPUShaderModule WGPUStringView WGPUFragmentState::entryPoint

The INIT macro sets this to NULL. This is a Nullable Input String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 4422 of file webgpu.h.

◆ constantCount

size_t WGPUFragmentState::constantCount

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

Definition at line 4426 of file webgpu.h.

◆ constants

WGPUConstantEntry const* WGPUFragmentState::constants

The INIT macro sets this to NULL.

Definition at line 4430 of file webgpu.h.

◆ targetCount

size_t WGPUFragmentState::targetCount

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

Definition at line 4434 of file webgpu.h.

◆ targets

WGPUColorTargetState const* WGPUFragmentState::targets

The INIT macro sets this to NULL.

Definition at line 4438 of file webgpu.h.