MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / AdapterLUID

Class AdapterLUID

Source/Falcor/Core/API/Device.h:77–86  ·  view source on GitHub ↗

Holds the adapter LUID (or UUID). Note: The adapter LUID is actually just 8 bytes, but on Linux the LUID is not supported, so we use this to store the 16-byte UUID instead.

Source from the content-addressed store, hash-verified

75/// Note: The adapter LUID is actually just 8 bytes, but on Linux the LUID is
76/// not supported, so we use this to store the 16-byte UUID instead.
77struct AdapterLUID
78{
79 std::array<uint8_t, 16> luid;
80
81 AdapterLUID() { luid.fill(0); }
82 bool isValid() const { return *this != AdapterLUID(); }
83 bool operator==(const AdapterLUID& other) const { return luid == other.luid; }
84 bool operator!=(const AdapterLUID& other) const { return luid != other.luid; }
85 bool operator<(const AdapterLUID& other) const { return luid < other.luid; }
86};
87
88struct AdapterInfo
89{

Callers 2

isValidMethod · 0.85
DeviceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected