Diligent::AttachmentReference struct

Attachment reference description.

Contents

Public functions

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

Public variables

Uint32 AttachmentIndex
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.
RESOURCE_STATE State
The state of the attachment during the subpass.

Function documentation

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

Tests if two structures are equivalent.

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