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

Render pass description. More...

#include <RenderPass.h>

Inheritance diagram for Diligent::RenderPassDesc:
Diligent::DeviceObjectAttribs

Public Member Functions

bool operator== (const RenderPassDesc &Rhs) const noexcept
 Tests if two render pass descriptions are equal.
 

Public Attributes

Uint32 AttachmentCount = 0
 The number of attachments used by the render pass.
 
const RenderPassAttachmentDescpAttachments = nullptr
 Pointer to the array of subpass attachments, see Diligent::RenderPassAttachmentDesc.
 
Uint32 SubpassCount = 0
 The number of subpasses in the render pass.
 
const SubpassDescpSubpasses = nullptr
 Pointer to the array of subpass descriptions, see Diligent::SubpassDesc.
 
Uint32 DependencyCount = 0
 The number of memory dependencies between pairs of subpasses.
 
const SubpassDependencyDescpDependencies = nullptr
 Pointer to the array of subpass dependencies, see Diligent::SubpassDependencyDesc.
 
- Public Attributes inherited from Diligent::DeviceObjectAttribs
const Char * Name = nullptr
 Object name.
 

Detailed Description

Render pass description.

Member Function Documentation

◆ operator==()

bool Diligent::RenderPassDesc::operator== ( const RenderPassDesc & Rhs) const
inlinenoexcept

Tests if two render pass descriptions are equal.

Parameters
[in]Rhs- reference to the structure to compare with.
Returns
true if all members of the two structures except for the Name are equal, and false otherwise.
Note
The operator ignores the Name field as it is used for debug purposes and doesn't affect the render pass properties.