KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RHI_PIPELINE_DESC Struct Reference

Everything here is fixed at creation except the states listed in dynamicStates. More...

#include <rhi_pipeline.h>

Public Attributes

RHI_ShaderHandle vertexShader
 
RHI_ShaderHandle fragmentShader
 
std::vector< RHI_VERTEX_BUFFER_LAYOUT_DESC > vertexBuffers
 
RHI_PRIMITIVE_TOPOLOGY topology = RHI_PRIMITIVE_TOPOLOGY::TRIANGLE_LIST
 
std::vector< RHI_BLEND_STATE > blendStates
 One per color attachment.
 
RHI_DEPTH_STENCIL_STATE depthStencil
 
std::vector< RHI_BIND_GROUP_LAYOUT_DESC > bindGroupLayouts
 Element n is bind group n, as passed to RHI_DEVICE::BindGroup().
 
RHI_TEXTURE_FORMAT colorFormat = RHI_TEXTURE_FORMAT::RGBA8
 
bool renderPassHasDepthStencil = false
 
std::vector< RHI_DYNAMIC_STATE > dynamicStates
 

Detailed Description

Everything here is fixed at creation except the states listed in dynamicStates.

Definition at line 110 of file rhi_pipeline.h.

Member Data Documentation

◆ bindGroupLayouts

std::vector<RHI_BIND_GROUP_LAYOUT_DESC> RHI_PIPELINE_DESC::bindGroupLayouts

◆ blendStates

std::vector<RHI_BLEND_STATE> RHI_PIPELINE_DESC::blendStates

◆ colorFormat

◆ depthStencil

◆ dynamicStates

◆ fragmentShader

◆ renderPassHasDepthStencil

bool RHI_PIPELINE_DESC::renderPassHasDepthStencil = false

◆ topology

◆ vertexBuffers

◆ vertexShader


The documentation for this struct was generated from the following file: