Diligent Engine  v.2.4.g
Public Types | Public Member Functions | List of all members
Diligent::BufferSuballocatorImpl Class Referencefinal
Inheritance diagram for Diligent::BufferSuballocatorImpl:
Diligent::ObjectBase< IBufferSuballocator > Diligent::RefCountedObject< IBufferSuballocator > Diligent::IBufferSuballocator Diligent::IObject

Public Types

using TBase = ObjectBase< IBufferSuballocator >
 

Public Member Functions

 BufferSuballocatorImpl (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const BufferSuballocatorCreateInfo &CreateInfo)
 
virtual IBufferGetBuffer (IRenderDevice *pDevice, IDeviceContext *pContext) override final
 
virtual void Allocate (Uint32 Size, Uint32 Alignment, IBufferSuballocation **ppSuballocation) override final
 
void Free (VariableSizeAllocationsManager::Allocation &&Subregion)
 
virtual Uint32 GetVersion () const override final
 
virtual Uint32 GetFreeSize () override final
 
- Public Member Functions inherited from Diligent::ObjectBase< IBufferSuballocator >
 ObjectBase (IReferenceCounters *pRefCounters)
 
virtual void QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)
 
- Public Member Functions inherited from Diligent::RefCountedObject< IBufferSuballocator >
 RefCountedObject (IReferenceCounters *pRefCounters, BaseCtorArgTypes &&... BaseCtorArgs) noexcept
 
virtual ~RefCountedObject ()
 
virtual IReferenceCountersGetReferenceCounters () const override final
 
virtual ReferenceCounterValueType AddRef () override final
 
virtual ReferenceCounterValueType Release () override
 
ReferenceCounterValueType Release (TPreObjectDestroy PreObjectDestroy)
 
- Public Member Functions inherited from Diligent::IObject
virtual IReferenceCountersGetReferenceCounters () const =0
 Returns the pointer to IReferenceCounters interface of the associated reference counters object. The method does NOT increment the number of strong references to the returned object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Diligent::RefCountedObject< IBufferSuballocator >
void operator delete (void *ptr)
 
void operator delete (void *ptr, ObjectAllocatorType &Allocator, const Char *dbgDescription, const char *dbgFileName, const Int32 dbgLineNumber)
 

Member Typedef Documentation

◆ TBase

Constructor & Destructor Documentation

◆ BufferSuballocatorImpl()

Diligent::BufferSuballocatorImpl::BufferSuballocatorImpl ( IReferenceCounters pRefCounters,
IRenderDevice pDevice,
const BufferSuballocatorCreateInfo CreateInfo 
)
inline

Member Function Documentation

◆ Allocate()

virtual void Diligent::BufferSuballocatorImpl::Allocate ( Uint32  Size,
Uint32  Alignment,
IBufferSuballocation **  ppSuballocation 
)
inlinefinaloverridevirtual

◆ Free()

void Diligent::BufferSuballocatorImpl::Free ( VariableSizeAllocationsManager::Allocation &&  Subregion)
inline

◆ GetBuffer()

virtual IBuffer* Diligent::BufferSuballocatorImpl::GetBuffer ( IRenderDevice pDevice,
IDeviceContext pContext 
)
inlinefinaloverridevirtual

◆ GetFreeSize()

virtual Uint32 Diligent::BufferSuballocatorImpl::GetFreeSize ( )
inlinefinaloverridevirtual

◆ GetVersion()

virtual Uint32 Diligent::BufferSuballocatorImpl::GetVersion ( ) const
inlinefinaloverridevirtual

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