XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALBindlessResourceAllocator Class Reference

#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

Detailed Description

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.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Resources/BindlessResource.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Resources/Implementation/BindlessResource.cpp