Diligent Engine  v.2.4.g
Public Member Functions | Protected Attributes | List of all members
Diligent::UploadBufferBase Class Reference

#include <TextureUploaderBase.hpp>

Inheritance diagram for Diligent::UploadBufferBase:
Diligent::ObjectBase< IUploadBuffer > Diligent::RefCountedObject< IUploadBuffer > Diligent::IUploadBuffer Diligent::IObject

Public Member Functions

 UploadBufferBase (IReferenceCounters *pRefCounters, const UploadBufferDesc &Desc)
 
virtual MappedTextureSubresource GetMappedData (Uint32 Mip, Uint32 Slice) override final
 
virtual const UploadBufferDescGetDesc () const override final
 
void SetMappedData (Uint32 Mip, Uint32 Slice, const MappedTextureSubresource &MappedData)
 
bool IsMapped (Uint32 Mip, Uint32 Slice) const
 
void Reset ()
 
- Public Member Functions inherited from Diligent::ObjectBase< IUploadBuffer >
 ObjectBase (IReferenceCounters *pRefCounters)
 
virtual void QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)
 
- Public Member Functions inherited from Diligent::RefCountedObject< IUploadBuffer >
 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::IUploadBuffer
virtual void WaitForCopyScheduled ()=0
 
- 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...
 

Protected Attributes

const UploadBufferDesc m_Desc
 
std::vector< MappedTextureSubresourcem_MappedData
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ UploadBufferBase()

Diligent::UploadBufferBase::UploadBufferBase ( IReferenceCounters pRefCounters,
const UploadBufferDesc Desc 
)
inline

Member Function Documentation

◆ GetDesc()

virtual const UploadBufferDesc& Diligent::UploadBufferBase::GetDesc ( ) const
inlinefinaloverridevirtual

◆ GetMappedData()

virtual MappedTextureSubresource Diligent::UploadBufferBase::GetMappedData ( Uint32  Mip,
Uint32  Slice 
)
inlinefinaloverridevirtual

◆ IsMapped()

bool Diligent::UploadBufferBase::IsMapped ( Uint32  Mip,
Uint32  Slice 
) const
inline

◆ Reset()

void Diligent::UploadBufferBase::Reset ( )
inline

◆ SetMappedData()

void Diligent::UploadBufferBase::SetMappedData ( Uint32  Mip,
Uint32  Slice,
const MappedTextureSubresource MappedData 
)
inline

Member Data Documentation

◆ m_Desc

const UploadBufferDesc Diligent::UploadBufferBase::m_Desc
protected

◆ m_MappedData

std::vector<MappedTextureSubresource> Diligent::UploadBufferBase::m_MappedData
protected

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