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
 
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.

Constructor & Destructor Documentation

HGI_API HgiGraphicsPipelineDesc::HgiGraphicsPipelineDesc ( )

Member Data Documentation

HgiAttachmentDescVector HgiGraphicsPipelineDesc::colorAttachmentDescs

Definition at line 431 of file graphicsPipeline.h.

std::string HgiGraphicsPipelineDesc::debugName

Definition at line 424 of file graphicsPipeline.h.

HgiAttachmentDesc HgiGraphicsPipelineDesc::depthAttachmentDesc

Definition at line 432 of file graphicsPipeline.h.

HgiDepthStencilState HgiGraphicsPipelineDesc::depthState

Definition at line 427 of file graphicsPipeline.h.

HgiMultiSampleState HgiGraphicsPipelineDesc::multiSampleState

Definition at line 428 of file graphicsPipeline.h.

HgiPrimitiveType HgiGraphicsPipelineDesc::primitiveType

Definition at line 425 of file graphicsPipeline.h.

HgiRasterizationState HgiGraphicsPipelineDesc::rasterizationState

Definition at line 429 of file graphicsPipeline.h.

bool HgiGraphicsPipelineDesc::resolveAttachments

Definition at line 433 of file graphicsPipeline.h.

HgiGraphicsShaderConstantsDesc HgiGraphicsPipelineDesc::shaderConstantsDesc

Definition at line 434 of file graphicsPipeline.h.

HgiShaderProgramHandle HgiGraphicsPipelineDesc::shaderProgram

Definition at line 426 of file graphicsPipeline.h.

HgiTessellationState HgiGraphicsPipelineDesc::tessellationState

Definition at line 435 of file graphicsPipeline.h.

HgiVertexBufferDescVector HgiGraphicsPipelineDesc::vertexBuffers

Definition at line 430 of file graphicsPipeline.h.


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