Container to manage a vector of triangles.
@ ZERO
Coords that wraps are not evaluated.
RHI_HANDLE< RHI_TAG_SHADER > RHI_ShaderHandle
bool RhiPipelineUsesDepthStencil(const RHI_PIPELINE_DESC &aDesc)
Return true when the pipeline targets framebuffers with a depth/stencil attachment.
RHI_BLEND_FACTOR dstAlpha
RHI_BLEND_FACTOR srcColor
RHI_BLEND_FACTOR dstColor
RHI_BLEND_FACTOR srcAlpha
RHI_COMPARE_OP depthCompareOp
Everything here is fixed at creation except the states listed in dynamicStates.
std::vector< RHI_BIND_GROUP_LAYOUT_DESC > bindGroupLayouts
Element n is bind group n, as passed to RHI_DEVICE::BindGroup().
std::vector< RHI_DYNAMIC_STATE > dynamicStates
RHI_TEXTURE_FORMAT colorFormat
RHI_PRIMITIVE_TOPOLOGY topology
std::vector< RHI_VERTEX_BUFFER_LAYOUT_DESC > vertexBuffers
RHI_ShaderHandle vertexShader
RHI_ShaderHandle fragmentShader
std::vector< RHI_BLEND_STATE > blendStates
One per color attachment.
bool renderPassHasDepthStencil
RHI_DEPTH_STENCIL_STATE depthStencil
RHI_VERTEX_STEP_MODE stepMode
std::vector< RHI_VERTEX_ATTRIBUTE_DESC > attributes