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

Describes the properties of a framebuffer attachment. More...

Public Attributes

HgiFormat format
 
HgiAttachmentLoadOp loadOp
 
HgiAttachmentStoreOp storeOp
 
GfVec4f clearValue
 
bool blendEnabled
 
HgiBlendFactor srcColorBlendFactor
 
HgiBlendFactor dstColorBlendFactor
 
HgiBlendOp colorBlendOp
 
HgiBlendFactor srcAlphaBlendFactor
 
HgiBlendFactor dstAlphaBlendFactor
 
HgiBlendOp alphaBlendOp
 

Detailed Description

Describes the properties of a framebuffer attachment.

  • texture: The texture used as render target attachment.
  • loadOp: The operation to perform on the attachment pixel data prior to rendering.
  • storeOp: The operation to perform on the attachment pixel data after rendering.
  • clearValue: The value to clear the attachment with (r,g,b,a) or (depth,stencil,x,x)
  • blendEnabled: Determines if a blend operation should be applied to the attachment.
  • ***BlendFactor: The blend factors for source and destination.
  • ***BlendOp: The blending operation.

Definition at line 57 of file attachmentDesc.h.


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