|
|
| AZ_CLASS_ALLOCATOR (TransientAttachmentPool, AZ::SystemAllocator) |
| |
|
| AZ_RTTI (TransientAttachmentPool, "{37FCCF38-52D0-46E4-B4D1-1CB2B063422D}", Base) |
| |
|
| AZ_RTTI (DeviceTransientAttachmentPool, "{D4A544E9-AE4A-4BD7-9E03-646DA8D86388}") |
| |
|
ResultCode | Init (Device &device, const TransientAttachmentPoolDescriptor &descriptor) |
| | Called to initialize the pool.
|
| |
| void | Shutdown () |
| | Called to shutdown the pool.
|
| |
| void | Begin (const TransientAttachmentPoolCompileFlags flags=TransientAttachmentPoolCompileFlags::None, const TransientAttachmentStatistics::MemoryUsage *memoryHint=nullptr) |
| |
|
void | BeginScope (Scope &scopeBase) |
| | Called when a new scope is being allocated. Scopes are allocated in submission order.
|
| |
|
void | EndScope () |
| | Called when all allocations for the current scope have completed.
|
| |
|
void | End () |
| | Called when the allocations / deallocations have completed for all scopes.
|
| |
|
const TransientAttachmentStatistics & | GetStatistics () const |
| | Get statistics for the pool (built during End).
|
| |
|
const TransientAttachmentPoolDescriptor & | GetDescriptor () const |
| | Get pool descriptor.
|
| |
|
TransientAttachmentPoolCompileFlags | GetCompileFlags () const |
| | Get the compile flags being used during the allocation of resources.
|
| |
|
| AZ_RTTI (DeviceObject, "{17D34F71-944C-4AF5-9823-627474C4C0A6}", Object) |
| |
|
bool | IsInitialized () const |
| | Returns whether the device object is initialized.
|
| |
| Device & | GetDevice () const |
| |
|
| AZ_RTTI (Object, "{E43378F1-2331-4173-94B8-990ED20E6003}") |
| |
|
void | SetName (const Name &name) |
| | Sets the name of the object.
|
| |
|
const Name & | GetName () const |
| | Returns the name set on the object by SetName.
|
| |
|
uint32_t | use_count () |
| | Returns the current use count of the object.
|
| |