HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiGraphicsPipelineDesc Struct Reference

#include <graphicsPipeline.h>

Public Member Functions

HGI_API HgiGraphicsPipelineDesc ()
 

Public Attributes

std::string debugName
 
HgiPrimitiveType primitiveType
 
HgiShaderProgramHandle shaderProgram
 
HgiDepthStencilState depthState
 
HgiMultiSampleState multiSampleState
 
HgiRasterizationState rasterizationState
 
HgiVertexBufferDescVector vertexBuffers
 
HgiAttachmentDescVector colorAttachmentDescs
 
HgiAttachmentDescVector colorResolveAttachmentDescs
 
HgiAttachmentDesc depthAttachmentDesc
 
HgiAttachmentDesc depthResolveAttachmentDesc
 
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.
  • colorResolveAttachmentDescs: Describes each of the color resolve attachments (optional).
  • depthAttachmentDesc: Describes the depth attachment (optional) Use HgiFormatInvalid to indicate no depth attachment.
  • depthResolveAttachmentDesc: Describes the depth resolve attachment (optional). Use HgiFormatInvalid to indicate no depth resolve attachment.
  • shaderConstantsDesc: Describes the shader uniforms.
  • tessellationState: Describes the tessellation state.

Definition at line 422 of file graphicsPipeline.h.

Constructor & Destructor Documentation

HGI_API HgiGraphicsPipelineDesc::HgiGraphicsPipelineDesc ( )

Member Data Documentation

HgiAttachmentDescVector HgiGraphicsPipelineDesc::colorAttachmentDescs

Definition at line 434 of file graphicsPipeline.h.

HgiAttachmentDescVector HgiGraphicsPipelineDesc::colorResolveAttachmentDescs

Definition at line 435 of file graphicsPipeline.h.

std::string HgiGraphicsPipelineDesc::debugName

Definition at line 427 of file graphicsPipeline.h.

HgiAttachmentDesc HgiGraphicsPipelineDesc::depthAttachmentDesc

Definition at line 436 of file graphicsPipeline.h.

HgiAttachmentDesc HgiGraphicsPipelineDesc::depthResolveAttachmentDesc

Definition at line 437 of file graphicsPipeline.h.

HgiDepthStencilState HgiGraphicsPipelineDesc::depthState

Definition at line 430 of file graphicsPipeline.h.

HgiMultiSampleState HgiGraphicsPipelineDesc::multiSampleState

Definition at line 431 of file graphicsPipeline.h.

HgiPrimitiveType HgiGraphicsPipelineDesc::primitiveType

Definition at line 428 of file graphicsPipeline.h.

HgiRasterizationState HgiGraphicsPipelineDesc::rasterizationState

Definition at line 432 of file graphicsPipeline.h.

HgiGraphicsShaderConstantsDesc HgiGraphicsPipelineDesc::shaderConstantsDesc

Definition at line 438 of file graphicsPipeline.h.

HgiShaderProgramHandle HgiGraphicsPipelineDesc::shaderProgram

Definition at line 429 of file graphicsPipeline.h.

HgiTessellationState HgiGraphicsPipelineDesc::tessellationState

Definition at line 439 of file graphicsPipeline.h.

HgiVertexBufferDescVector HgiGraphicsPipelineDesc::vertexBuffers

Definition at line 433 of file graphicsPipeline.h.


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