A class for allocating memory for skinning buffers. More...
#include <SkinnedMeshOutputStreamManagerInterface.h>
Inherited by AZ::Render::SkinnedMeshOutputStreamManager.
Public Member Functions | |
AZ_RTTI (AZ::Render::SkinnedMeshOutputStreamManagerInterface, "{14536F49-FF76-4B71-B0F4-5E5B73FA4C04}") | |
virtual Data::Asset< RPI::BufferAsset > | GetBufferAsset ()=0 |
Returns the buffer asset that is used for all skinned mesh outputs. | |
virtual Data::Instance< RPI::Buffer > | GetBuffer ()=0 |
Returns the buffer that is used for all skinned mesh outputs. | |
virtual AZStd::intrusive_ptr< SkinnedMeshOutputStreamAllocation > | Allocate (size_t byteCount)=0 |
virtual void | DeAllocate (RHI::VirtualAddress allocation)=0 |
virtual void | DeAllocateNoSignal (RHI::VirtualAddress allocation)=0 |
AZ_DISABLE_COPY_MOVE (SkinnedMeshOutputStreamManagerInterface) | |
Static Public Member Functions | |
static SkinnedMeshOutputStreamManagerInterface * | Get () |
A class for allocating memory for skinning buffers.
|
pure virtual |
If the allocation succeeds, returns a ref-counted pointer to a VirtualAddress which will be automatically freed if the ref-count drops to zero If the allocation fails, returns nullptr
Implemented in AZ::Render::SkinnedMeshOutputStreamManager.
|
pure virtual |
Mark the memory as available and queue garbage collection to recycle it later (see RHI::Allocator::DeAllocate) After garbage collection is done signal handlers that memory has been freed
Implemented in AZ::Render::SkinnedMeshOutputStreamManager.
|
pure virtual |
Same as DeAllocate, but the signal after garbage collection is ignored If multiple allocations succeeded before one failed, use this to release the successful allocations without triggering new events indicating that new memory has been freed
Implemented in AZ::Render::SkinnedMeshOutputStreamManager.
|
pure virtual |
Returns the buffer that is used for all skinned mesh outputs.
Implemented in AZ::Render::SkinnedMeshOutputStreamManager.
|
pure virtual |
Returns the buffer asset that is used for all skinned mesh outputs.
Implemented in AZ::Render::SkinnedMeshOutputStreamManager.