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

Constructor & Destructor Documentation

HgiGraphicsCmdsDesc::HgiGraphicsCmdsDesc ( )

Definition at line 63 of file graphicsCmdsDesc.h.

Member Function Documentation

bool HgiGraphicsCmdsDesc::HasAttachments ( ) const

Definition at line 74 of file graphicsCmdsDesc.h.

Member Data Documentation

HgiAttachmentDescVector HgiGraphicsCmdsDesc::colorAttachmentDescs

Definition at line 78 of file graphicsCmdsDesc.h.

HgiTextureHandleVector HgiGraphicsCmdsDesc::colorResolveTextures

Definition at line 82 of file graphicsCmdsDesc.h.

HgiTextureHandleVector HgiGraphicsCmdsDesc::colorTextures

Definition at line 81 of file graphicsCmdsDesc.h.

HgiAttachmentDesc HgiGraphicsCmdsDesc::depthAttachmentDesc

Definition at line 79 of file graphicsCmdsDesc.h.

HgiTextureHandle HgiGraphicsCmdsDesc::depthResolveTexture

Definition at line 85 of file graphicsCmdsDesc.h.

HgiTextureHandle HgiGraphicsCmdsDesc::depthTexture

Definition at line 84 of file graphicsCmdsDesc.h.

uint32_t HgiGraphicsCmdsDesc::height

Definition at line 88 of file graphicsCmdsDesc.h.

uint32_t HgiGraphicsCmdsDesc::width

Definition at line 87 of file graphicsCmdsDesc.h.

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