LiteFX 0.5.1.2025
Computer Graphics Engine
Loading...
Searching...
No Matches
LiteFX::Rendering::DescriptorBindingPoint Struct Referencefinal

Describes a single descriptor binding point within a IShaderModule. More...

#include <rendering_api.hpp>

Public Member Functions

auto operator<=> (const DescriptorBindingPoint &other) const noexcept
 Implements three-way comparison for descriptor binding points.
 
bool operator== (const DescriptorBindingPoint &other) const noexcept
 Implements equality comparison for descriptor binding points.
 

Public Attributes

UInt32 Register { 0 }
 Stores the register index of the binding point.
 
UInt32 Space { 0 }
 Stores the descriptor space (or set index) of the binding point.
 

Detailed Description

Describes a single descriptor binding point within a IShaderModule.

Member Function Documentation

◆ operator<=>()

auto LiteFX::Rendering::DescriptorBindingPoint::operator<=> ( const DescriptorBindingPoint & other) const
inlinenoexcept

Implements three-way comparison for descriptor binding points.

Parameters
otherThe other binding point to compare against.
Returns
less, if the Space property of the instance is lower than the Space property of other , and greater if the opposite is true and they are not equal. If the Space properties are equal, the Register properties are compared accordingly. If both, Space and Register are equal, the operator returns equal.

◆ operator==()

bool LiteFX::Rendering::DescriptorBindingPoint::operator== ( const DescriptorBindingPoint & other) const
inlinenoexcept

Implements equality comparison for descriptor binding points.

Parameters
otherThe other binding point to compare against.
Returns
true, if the Space and Register values for both binding points are equal, otherwise false.

Member Data Documentation

◆ Register

UInt32 LiteFX::Rendering::DescriptorBindingPoint::Register { 0 }

Stores the register index of the binding point.

◆ Space

UInt32 LiteFX::Rendering::DescriptorBindingPoint::Space { 0 }

Stores the descriptor space (or set index) of the binding point.