![]() |
Raven Engine v0.1
|
Opaque handle referencing a material in the registry. More...
#include <MaterialRegistry.h>
Public Member Functions | |
| bool | IsValid () const |
Public Attributes | |
| u32 | Index = 0xFFFFFFFF |
| Slot index in the registry. | |
| u32 | Version = 0 |
| Monotonically increasing slot version. | |
Opaque handle referencing a material in the registry.
Each handle encodes both the slot index and a version number. This allows invalidation detection when slots are reused.
|
inline |
| u32 Raven::MaterialHandle::Index = 0xFFFFFFFF |
Slot index in the registry.
| u32 Raven::MaterialHandle::Version = 0 |
Monotonically increasing slot version.