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

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

Public Member Functions

bool HasAttachments () const

Public Attributes

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

Detailed Description

Describes the properties to begin a HgiGraphicsEncoder.

  • colorAttachmentDescs: Describes each of the color attachments.
  • depthAttachmentDesc: Describes the depth attachment (optional)
  • colorTextures: The color attachment render targets.
  • depthTexture: The depth attachment render target (optional)
  • width: Render target width (in pixels)
  • height: Render target height (in pixels)

Definition at line 55 of file graphicsEncoderDesc.h.

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