RAMSES Documentation  27.0.130
Information for RAMSES users and developers
Public Member Functions | Public Attributes | List of all members
ramses::rendererResourceId_t Struct Reference

Resource identifier used to refer to a resource on the renderer. More...

#include <Types.h>

Public Member Functions

constexpr rendererResourceId_t ()
 Default constructor constructs invalid value. More...
 
constexpr rendererResourceId_t (uint64_t low, uint64_t high)
 The constructor. More...
 
constexpr bool operator== (const rendererResourceId_t &rhs) const
 The comparison operator. More...
 
constexpr bool operator!= (const rendererResourceId_t &rhs) const
 The comparison operator. More...
 

Public Attributes

uint64_t lowPart
 The lower bits of the resource id. More...
 
uint64_t highPart
 The higher bits of the resource id. More...
 

Detailed Description

Resource identifier used to refer to a resource on the renderer.

Parameters
[in]lowThe low 64 bits of the value
[in]highThe high 64 bits of the value

Constructor & Destructor Documentation

◆ rendererResourceId_t() [1/2]

constexpr ramses::rendererResourceId_t::rendererResourceId_t ( )
inlineconstexpr

Default constructor constructs invalid value.

◆ rendererResourceId_t() [2/2]

constexpr ramses::rendererResourceId_t::rendererResourceId_t ( uint64_t  low,
uint64_t  high 
)
inlineconstexpr

The constructor.

Parameters
[in]lowThe low bits of the ID
[in]highThe high bits of the ID

Member Function Documentation

◆ operator!=()

constexpr bool ramses::rendererResourceId_t::operator!= ( const rendererResourceId_t rhs) const
inlineconstexpr

The comparison operator.

Parameters
[in]rhsThe instance to compare to
Returns
True if same, false otherwise

◆ operator==()

constexpr bool ramses::rendererResourceId_t::operator== ( const rendererResourceId_t rhs) const
inlineconstexpr

The comparison operator.

Parameters
[in]rhsThe instance to compare to
Returns
True if same, false otherwise

Member Data Documentation

◆ highPart

uint64_t ramses::rendererResourceId_t::highPart

The higher bits of the resource id.

◆ lowPart

uint64_t ramses::rendererResourceId_t::lowPart

The lower bits of the resource id.


The documentation for this struct was generated from the following file: