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

Data Fields

WGPUChainedStructnextInChain
 
WGPUStringView label
 
WGPUPipelineLayout layout
 
WGPUVertexState vertex
 
WGPUPrimitiveState primitive
 
WGPUDepthStencilState const * depthStencil
 
WGPUMultisampleState multisample
 
WGPUFragmentState const * fragment
 

Detailed Description

Default values can be set using WGPU_RENDER_PIPELINE_DESCRIPTOR_INIT as initializer.

Definition at line 4744 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPURenderPipelineDescriptor::nextInChain

Definition at line 4745 of file webgpu.h.

◆ label

WGPUStringView WGPURenderPipelineDescriptor::label

This is a Non-Null Input String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 4751 of file webgpu.h.

◆ layout

WGPUPipelineLayout WGPURenderPipelineDescriptor::layout

The INIT macro sets this to NULL.

Definition at line 4755 of file webgpu.h.

◆ vertex

WGPUVertexState WGPURenderPipelineDescriptor::vertex

The INIT macro sets this to WGPU_VERTEX_STATE_INIT.

Definition at line 4759 of file webgpu.h.

◆ primitive

WGPUPrimitiveState WGPURenderPipelineDescriptor::primitive

The INIT macro sets this to WGPU_PRIMITIVE_STATE_INIT.

Definition at line 4763 of file webgpu.h.

◆ depthStencil

WGPUDepthStencilState const* WGPURenderPipelineDescriptor::depthStencil

The INIT macro sets this to NULL.

Definition at line 4767 of file webgpu.h.

◆ multisample

WGPUMultisampleState WGPURenderPipelineDescriptor::multisample

The INIT macro sets this to WGPU_MULTISAMPLE_STATE_INIT.

Definition at line 4771 of file webgpu.h.

◆ fragment

WGPUFragmentState const* WGPURenderPipelineDescriptor::fragment

The INIT macro sets this to NULL.

Definition at line 4775 of file webgpu.h.