Loading...
Searching...
No Matches
HgiGraphicsCmdsDesc Struct Reference

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

#include <graphicsCmdsDesc.h>

Public Member Functions

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

◆ HasAttachments()

bool HasAttachments ( ) const
inline

Definition at line 72 of file graphicsCmdsDesc.h.

Member Data Documentation

◆ colorAttachmentDescs

HgiAttachmentDescVector colorAttachmentDescs

Definition at line 76 of file graphicsCmdsDesc.h.

◆ colorResolveTextures

HgiTextureHandleVector colorResolveTextures

Definition at line 80 of file graphicsCmdsDesc.h.

◆ colorTextures

HgiTextureHandleVector colorTextures

Definition at line 79 of file graphicsCmdsDesc.h.

◆ depthAttachmentDesc

HgiAttachmentDesc depthAttachmentDesc

Definition at line 77 of file graphicsCmdsDesc.h.

◆ depthResolveTexture

HgiTextureHandle depthResolveTexture

Definition at line 83 of file graphicsCmdsDesc.h.

◆ depthTexture

HgiTextureHandle depthTexture

Definition at line 82 of file graphicsCmdsDesc.h.


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