Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::SkinnedMeshOutputStreamManager Class Reference

Inherits AZ::Render::SkinnedMeshOutputStreamManagerInterface, and AZ::SystemTickBus::Handler.

Public Member Functions

 AZ_RTTI (AZ::Render::SkinnedMeshOutputStreamManager, "{3107EC84-DDF6-46FD-8B2C-00431D1BB67C}", AZ::Render::SkinnedMeshOutputStreamManagerInterface)
 
void Init ()
 
AZStd::intrusive_ptr< SkinnedMeshOutputStreamAllocationAllocate (size_t byteCount) override
 
void DeAllocate (RHI::VirtualAddress allocation) override
 
void DeAllocateNoSignal (RHI::VirtualAddress allocation) override
 
Data::Asset< RPI::BufferAssetGetBufferAsset () override
 Returns the buffer asset that is used for all skinned mesh outputs.
 
Data::Instance< RPI::BufferGetBuffer () override
 Returns the buffer that is used for all skinned mesh outputs.
 
- Public Member Functions inherited from AZ::Render::SkinnedMeshOutputStreamManagerInterface
 AZ_RTTI (AZ::Render::SkinnedMeshOutputStreamManagerInterface, "{14536F49-FF76-4B71-B0F4-5E5B73FA4C04}")
 
virtual Data::Asset< RPI::BufferAssetGetBufferAsset ()=0
 Returns the buffer asset that is used for all skinned mesh outputs.
 
virtual Data::Instance< RPI::BufferGetBuffer ()=0
 Returns the buffer that is used for all skinned mesh outputs.
 
virtual AZStd::intrusive_ptr< SkinnedMeshOutputStreamAllocationAllocate (size_t byteCount)=0
 
virtual void DeAllocate (RHI::VirtualAddress allocation)=0
 
virtual void DeAllocateNoSignal (RHI::VirtualAddress allocation)=0
 
 AZ_DISABLE_COPY_MOVE (SkinnedMeshOutputStreamManagerInterface)
 

Additional Inherited Members

- Static Public Member Functions inherited from AZ::Render::SkinnedMeshOutputStreamManagerInterface
static SkinnedMeshOutputStreamManagerInterfaceGet ()
 

Member Function Documentation

◆ Allocate()

AZStd::intrusive_ptr< SkinnedMeshOutputStreamAllocation > AZ::Render::SkinnedMeshOutputStreamManager::Allocate ( size_t  byteCount)
overridevirtual

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

Implements AZ::Render::SkinnedMeshOutputStreamManagerInterface.

◆ DeAllocate()

void AZ::Render::SkinnedMeshOutputStreamManager::DeAllocate ( RHI::VirtualAddress  allocation)
overridevirtual

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

Implements AZ::Render::SkinnedMeshOutputStreamManagerInterface.

◆ DeAllocateNoSignal()

void AZ::Render::SkinnedMeshOutputStreamManager::DeAllocateNoSignal ( RHI::VirtualAddress  allocation)
overridevirtual

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

Implements AZ::Render::SkinnedMeshOutputStreamManagerInterface.

◆ GetBuffer()

Data::Instance< RPI::Buffer > AZ::Render::SkinnedMeshOutputStreamManager::GetBuffer ( )
overridevirtual

Returns the buffer that is used for all skinned mesh outputs.

Implements AZ::Render::SkinnedMeshOutputStreamManagerInterface.

◆ GetBufferAsset()

Data::Asset< RPI::BufferAsset > AZ::Render::SkinnedMeshOutputStreamManager::GetBufferAsset ( )
overridevirtual

Returns the buffer asset that is used for all skinned mesh outputs.

Implements AZ::Render::SkinnedMeshOutputStreamManagerInterface.


The documentation for this class was generated from the following file: