Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::AttachmentReference Struct Reference

Attachment reference description. More...

#include <RenderPass.h>

Public Member Functions

constexpr bool operator== (const AttachmentReference &RHS) const
 Tests if two structures are equivalent.
 

Public Attributes

Uint32 AttachmentIndex = 0
 Attachment index in the render pass attachment array.
 
RESOURCE_STATE State = RESOURCE_STATE_UNKNOWN
 The state of the attachment during the subpass.
 

Detailed Description

Attachment reference description.

Member Function Documentation

◆ operator==()

bool Diligent::AttachmentReference::operator== ( const AttachmentReference & RHS) const
inlineconstexpr

Tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise

Member Data Documentation

◆ AttachmentIndex

Uint32 Diligent::AttachmentReference::AttachmentIndex = 0

Attachment index in the render pass attachment array.

Either an integer value identifying an attachment at the corresponding index in RenderPassDesc::pAttachments, or ATTACHMENT_UNUSED to signify that this attachment is not used.