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

#include <graphicsCmdsDesc.h>

Public Member Functions

 HgiGraphicsCmdsDesc ()
 
bool HasAttachments () const
 

Public Attributes

HgiAttachmentDescVector colorAttachmentDescs
 
HgiAttachmentDesc depthAttachmentDesc
 
HgiTextureHandleVector colorTextures
 
HgiTextureHandleVector colorResolveTextures
 
HgiTextureHandle depthTexture
 
HgiTextureHandle depthResolveTexture
 

Detailed Description

Describes the properties to begin a HgiGraphicsCmds.

  • colorAttachmentDescs: Describes each of the color attachments.
  • depthAttachmentDesc: Describes the depth attachment (optional)
  • colorTextures: The color attachment render targets.
  • colorResolveTextures: The (optional) textures that the color textures will be resolved into at the end of the render pass.
  • depthTexture: The depth attachment render target (optional)
  • depthResolveTexture: The (optional) texture that the depth texture will be resolved into at the end of the render pass.
  • width: Render target width (in pixels)
  • height: Render target height (in pixels)

Definition at line 61 of file graphicsCmdsDesc.h.

Constructor & Destructor Documentation

HgiGraphicsCmdsDesc::HgiGraphicsCmdsDesc ( )
inline

Definition at line 63 of file graphicsCmdsDesc.h.

Member Function Documentation

bool HgiGraphicsCmdsDesc::HasAttachments ( ) const
inline

Definition at line 72 of file graphicsCmdsDesc.h.

Member Data Documentation

HgiAttachmentDescVector HgiGraphicsCmdsDesc::colorAttachmentDescs

Definition at line 76 of file graphicsCmdsDesc.h.

HgiTextureHandleVector HgiGraphicsCmdsDesc::colorResolveTextures

Definition at line 80 of file graphicsCmdsDesc.h.

HgiTextureHandleVector HgiGraphicsCmdsDesc::colorTextures

Definition at line 79 of file graphicsCmdsDesc.h.

HgiAttachmentDesc HgiGraphicsCmdsDesc::depthAttachmentDesc

Definition at line 77 of file graphicsCmdsDesc.h.

HgiTextureHandle HgiGraphicsCmdsDesc::depthResolveTexture

Definition at line 83 of file graphicsCmdsDesc.h.

HgiTextureHandle HgiGraphicsCmdsDesc::depthTexture

Definition at line 82 of file graphicsCmdsDesc.h.


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