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

Constructor & Destructor Documentation

HGI_API HgiGraphicsPipelineDesc::HgiGraphicsPipelineDesc ( )

Member Data Documentation

HgiAttachmentDescVector HgiGraphicsPipelineDesc::colorAttachmentDescs

Definition at line 414 of file graphicsPipeline.h.

std::string HgiGraphicsPipelineDesc::debugName

Definition at line 407 of file graphicsPipeline.h.

HgiAttachmentDesc HgiGraphicsPipelineDesc::depthAttachmentDesc

Definition at line 415 of file graphicsPipeline.h.

HgiDepthStencilState HgiGraphicsPipelineDesc::depthState

Definition at line 410 of file graphicsPipeline.h.

HgiMultiSampleState HgiGraphicsPipelineDesc::multiSampleState

Definition at line 411 of file graphicsPipeline.h.

HgiPrimitiveType HgiGraphicsPipelineDesc::primitiveType

Definition at line 408 of file graphicsPipeline.h.

HgiRasterizationState HgiGraphicsPipelineDesc::rasterizationState

Definition at line 412 of file graphicsPipeline.h.

bool HgiGraphicsPipelineDesc::resolveAttachments

Definition at line 416 of file graphicsPipeline.h.

HgiGraphicsShaderConstantsDesc HgiGraphicsPipelineDesc::shaderConstantsDesc

Definition at line 417 of file graphicsPipeline.h.

HgiShaderProgramHandle HgiGraphicsPipelineDesc::shaderProgram

Definition at line 409 of file graphicsPipeline.h.

HgiTessellationState HgiGraphicsPipelineDesc::tessellationState

Definition at line 418 of file graphicsPipeline.h.

HgiVertexBufferDescVector HgiGraphicsPipelineDesc::vertexBuffers

Definition at line 413 of file graphicsPipeline.h.


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