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 402 of file graphicsPipeline.h.

Member Data Documentation

◆ colorAttachmentDescs

HgiAttachmentDescVector colorAttachmentDescs

Definition at line 414 of file graphicsPipeline.h.

◆ debugName

std::string debugName

Definition at line 407 of file graphicsPipeline.h.

◆ depthAttachmentDesc

HgiAttachmentDesc depthAttachmentDesc

Definition at line 415 of file graphicsPipeline.h.

◆ depthState

Definition at line 410 of file graphicsPipeline.h.

◆ multiSampleState

HgiMultiSampleState multiSampleState

Definition at line 411 of file graphicsPipeline.h.

◆ primitiveType

HgiPrimitiveType primitiveType

Definition at line 408 of file graphicsPipeline.h.

◆ rasterizationState

HgiRasterizationState rasterizationState

Definition at line 412 of file graphicsPipeline.h.

◆ resolveAttachments

bool resolveAttachments

Definition at line 416 of file graphicsPipeline.h.

◆ shaderConstantsDesc

HgiGraphicsShaderConstantsDesc shaderConstantsDesc

Definition at line 417 of file graphicsPipeline.h.

◆ shaderProgram

HgiShaderProgramHandle shaderProgram

Definition at line 409 of file graphicsPipeline.h.

◆ tessellationState

HgiTessellationState tessellationState

Definition at line 418 of file graphicsPipeline.h.

◆ vertexBuffers

HgiVertexBufferDescVector vertexBuffers

Definition at line 413 of file graphicsPipeline.h.


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