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

Framebuffer description. More...

#include <Framebuffer.h>

Inheritance diagram for Diligent::FramebufferDesc:
Diligent::DeviceObjectAttribs

Public Member Functions

constexpr bool operator== (const FramebufferDesc &RHS) const
 Tests if two framebuffer descriptions are equal.
 

Public Attributes

IRenderPasspRenderPass = nullptr
 Render pass that the framebuffer will be compatible with.
 
Uint32 AttachmentCount = 0
 The number of attachments.
 
ITextureView *const * ppAttachments = nullptr
 Pointer to the array of attachments.
 
Uint32 Width = 0
 Width of the framebuffer.
 
Uint32 Height = 0
 Height of the framebuffer.
 
Uint32 NumArraySlices = 0
 The number of array slices in the framebuffer.
 
- Public Attributes inherited from Diligent::DeviceObjectAttribs
const Char * Name = nullptr
 Object name.
 

Detailed Description

Framebuffer description.

Member Function Documentation

◆ operator==()

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

Tests if two framebuffer 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 framebuffer properties.