Loading...
Searching...
No Matches
HgiGraphicsPipelineDesc Struct Reference

Describes the properties needed to create a GPU pipeline. More...

#include <graphicsPipeline.h>

Public Attributes

std::string debugName
 
HgiPrimitiveType primitiveType
 
HgiShaderProgramHandle shaderProgram
 
HgiDepthStencilState depthState
 
HgiMultiSampleState multiSampleState
 
HgiRasterizationState rasterizationState
 
HgiVertexBufferDescVector vertexBuffers
 
HgiAttachmentDescVector colorAttachmentDescs
 
HgiAttachmentDesc depthAttachmentDesc
 
bool resolveAttachments
 
HgiGraphicsShaderConstantsDesc shaderConstantsDesc
 
HgiTessellationState tessellationState
 

Detailed Description

Describes the properties needed to create a GPU pipeline.

  • primitiveType: Describes the stream of vertices (primitive topology).
  • shaderProgram: Shader functions/stages used in this pipeline.
  • depthState: Describes depth state for a pipeline.
  • multiSampleState: Various settings to control multi-sampling.
  • rasterizationState: Various settings to control rasterization.
  • vertexBuffers: Description of the vertex buffers (per-vertex attributes). The actual VBOs are bound via GraphicsCmds.
  • colorAttachmentDescs: Describes each of the color attachments.
  • depthAttachmentDesc: Describes the depth attachment (optional) Use HgiFormatInvalid to indicate no depth attachment.
  • resolveAttachments: Indicates whether or not to resolve the color and depth attachments.
  • shaderConstantsDesc: Describes the shader uniforms.
  • tessellationState: Describes the tessellation state.

Definition at line 419 of file graphicsPipeline.h.

Member Data Documentation

◆ colorAttachmentDescs

HgiAttachmentDescVector colorAttachmentDescs

Definition at line 431 of file graphicsPipeline.h.

◆ debugName

std::string debugName

Definition at line 424 of file graphicsPipeline.h.

◆ depthAttachmentDesc

HgiAttachmentDesc depthAttachmentDesc

Definition at line 432 of file graphicsPipeline.h.

◆ depthState

Definition at line 427 of file graphicsPipeline.h.

◆ multiSampleState

HgiMultiSampleState multiSampleState

Definition at line 428 of file graphicsPipeline.h.

◆ primitiveType

HgiPrimitiveType primitiveType

Definition at line 425 of file graphicsPipeline.h.

◆ rasterizationState

HgiRasterizationState rasterizationState

Definition at line 429 of file graphicsPipeline.h.

◆ resolveAttachments

bool resolveAttachments

Definition at line 433 of file graphicsPipeline.h.

◆ shaderConstantsDesc

HgiGraphicsShaderConstantsDesc shaderConstantsDesc

Definition at line 434 of file graphicsPipeline.h.

◆ shaderProgram

HgiShaderProgramHandle shaderProgram

Definition at line 426 of file graphicsPipeline.h.

◆ tessellationState

HgiTessellationState tessellationState

Definition at line 435 of file graphicsPipeline.h.

◆ vertexBuffers

HgiVertexBufferDescVector vertexBuffers

Definition at line 430 of file graphicsPipeline.h.


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