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

Describes the properties to begin a HgiGraphicsCmds. More...

Public Member Functions

bool HasAttachments () const
 

Public Attributes

HgiAttachmentDescVector colorAttachmentDescs
 
HgiAttachmentDesc depthAttachmentDesc
 
HgiTextureHandleVector colorTextures
 
HgiTextureHandleVector colorResolveTextures
 
HgiTextureHandle depthTexture
 
HgiTextureHandle depthResolveTexture
 
uint32_t width
 
uint32_t height
 

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.


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