Diligent::RenderPassAttachmentDesc struct

Render pass attachment description.

Contents

Public functions

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

Public variables

TEXTURE_FORMAT Format
The format of the texture view that will be used for the attachment.
Uint8 SampleCount
The number of samples in the texture.
ATTACHMENT_LOAD_OP LoadOp
Load operation that specifies how the contents of color and depth components of the attachment are treated at the beginning of the subpass where it is first used.
ATTACHMENT_STORE_OP StoreOp
Store operation how the contents of color and depth components of the attachment are treated at the end of the subpass where it is last used.
ATTACHMENT_LOAD_OP StencilLoadOp
Load operation that specifies how the contents of the stencil component of the attachment is treated at the beginning of the subpass where it is first used. This value is ignored when the format does not have stencil component.
ATTACHMENT_STORE_OP StencilStoreOp
Store operation how the contents of the stencil component of the attachment is treated at the end of the subpass where it is last used. This value is ignored when the format does not have stencil component.
RESOURCE_STATE InitialState
The state the attachment texture subresource will be in when a render pass instance begins.
RESOURCE_STATE FinalState
The state the attachment texture subresource will be transitioned to when a render pass instance ends.

Function documentation

bool Diligent::RenderPassAttachmentDesc::operator==(const RenderPassAttachmentDesc& 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