Resource identifier used to refer to a resource.
More...
#include <RamsesFrameworkTypes.h>
Resource identifier used to refer to a resource.
◆ resourceId_t() [1/2]
constexpr ramses::resourceId_t::resourceId_t |
( |
| ) |
|
|
inlineconstexpr |
Default constructor initialized to Invalid.
◆ resourceId_t() [2/2]
constexpr ramses::resourceId_t::resourceId_t |
( |
uint64_t |
low, |
|
|
uint64_t |
high |
|
) |
| |
|
inlineconstexpr |
Construct with low and high part.
- Parameters
-
low | low part of resource id |
high | high part of resource id |
◆ Invalid()
static constexpr resourceId_t ramses::resourceId_t::Invalid |
( |
| ) |
|
|
inlinestaticconstexpr |
Create invalid resource Id.
- Returns
- Invalid resource id
◆ isValid()
constexpr bool ramses::resourceId_t::isValid |
( |
| ) |
const |
|
inlineconstexpr |
Check if resource is valid.
- Returns
- true when resource id has a valid value, false otherwise
◆ operator!=()
constexpr bool ramses::resourceId_t::operator!= |
( |
const resourceId_t & |
other | ) |
const |
|
inlineconstexpr |
Unequal compare operator.
- Parameters
-
[in] | other | resourceId to compare to |
- Returns
- true of resourceId is not the same as other resourceId
◆ operator==()
constexpr bool ramses::resourceId_t::operator== |
( |
const resourceId_t & |
other | ) |
const |
|
inlineconstexpr |
Equal compare operator.
- Parameters
-
[in] | other | resourceId to compare to |
- Returns
- true of resourceId is the same as other resourceId
◆ highPart
uint64_t ramses::resourceId_t::highPart |
◆ lowPart
uint64_t ramses::resourceId_t::lowPart |
The documentation for this struct was generated from the following file:
- /home/runner/work/ramses/ramses/framework/ramses-framework-api/include/ramses-framework-api/RamsesFrameworkTypes.h