![]() |
XII Release 0.1.0
|
#include <BindlessResource.h>
Public Member Functions | |
| void | Initialize (xiiUInt32 uiCapacity) |
| void | Clear () |
| xiiGALBindlessResourceHandle | Allocate () |
| bool | Retire (xiiGALBindlessResourceHandle handle, xiiUInt64 uiLastUseFenceValue) |
| void | Collect (xiiUInt64 uiCompletedFenceValue) |
| bool | IsAlive (xiiGALBindlessResourceHandle handle) const |
| xiiUInt32 | GetCapacity () const |
| xiiUInt32 | GetAllocatedCount () const |
Fence-aware descriptor index allocator shared by bindless texture, buffer and sampler tables. Indices are not reused until Collect() observes the frame/fence on which the old descriptor was last referenced, preventing descriptor aliasing across frames in flight.