|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Identity of a resource at a point in time: slot plus generation, so slot reuse cannot alias two different resources. More...
#include "donner/gpu/Handles.h"
Public Member Functions | |
| bool | operator== (const ResourceIdentity &other) const =default |
| Equality operator. | |
Public Attributes | |
| uint32_t | slotIndex = 0 |
| Resource slot index. | |
| uint32_t | generation = 0 |
| Slot generation at capture time. | |
Identity of a resource at a point in time: slot plus generation, so slot reuse cannot alias two different resources.
Recorded commands and dependent-resource records store identities and re-validate them on every use.
|
default |
Equality operator.
| other | Identity to compare against. |