Diligent Engine API Reference
Public Member Functions | List of all members
Diligent::IBufferD3D11 Class Referenceabstract

Interface to the buffer object implemented in D3D11. More...

Inheritance diagram for Diligent::IBufferD3D11:
Diligent::IBuffer Diligent::IDeviceObject Diligent::IObject Diligent::RefCountedObject< IBufferD3D11, FixedBlockMemoryAllocator > Diligent::ObjectBase< IBufferD3D11, FixedBlockMemoryAllocator > Diligent::DeviceObjectBase< IBufferD3D11, BufferDesc, FixedBlockMemoryAllocator > Diligent::BufferBase< IBufferD3D11, BufferViewD3D11Impl, FixedBlockMemoryAllocator, FixedBlockMemoryAllocator > Diligent::BufferD3D11Impl

Public Member Functions

virtual ID3D11Buffer * GetD3D11Buffer ()=0
 Returns a pointer to the ID3D11Buffer interface of the internal Direct3D11 object. More...
 
- Public Member Functions inherited from Diligent::IBuffer
virtual void QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface, see IObject::QueryInterface() for details.
 
virtual const BufferDescGetDesc () const =0
 Returns the buffer description used to create the object.
 
virtual void UpdateData (class IDeviceContext *pContext, Uint32 Offset, Uint32 Size, const PVoid pData)=0
 Updates the data in the buffer. More...
 
virtual void CopyData (IDeviceContext *pContext, IBuffer *pSrcBuffer, Uint32 SrcOffset, Uint32 DstOffset, Uint32 Size)=0
 Copies the data from other buffer. More...
 
virtual void Map (IDeviceContext *pContext, MAP_TYPE MapType, Uint32 MapFlags, PVoid &pMappedData)=0
 Maps the buffer. More...
 
virtual void Unmap (IDeviceContext *pContext, MAP_TYPE MapType)=0
 Unmaps the previously mapped buffer. More...
 
virtual void CreateView (const struct BufferViewDesc &ViewDesc, class IBufferView **ppView)=0
 Creates a new buffer view. More...
 
virtual IBufferViewGetDefaultView (BUFFER_VIEW_TYPE ViewType)=0
 Returns the pointer to the default view. More...
 
- Public Member Functions inherited from Diligent::IObject
virtual Atomics::Long AddRef ()=0
 Increments the number of strong references by 1. More...
 
virtual Atomics::Long Release ()=0
 Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More...
 
virtual IReferenceCountersGetReferenceCounters () const =0
 Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object.
 

Detailed Description

Interface to the buffer object implemented in D3D11.

Member Function Documentation

virtual ID3D11Buffer* Diligent::IBufferD3D11::GetD3D11Buffer ( )
pure virtual

Returns a pointer to the ID3D11Buffer interface of the internal Direct3D11 object.

The method does NOT call AddRef() on the returned interface, so Release() must not be called.

Implemented in Diligent::BufferD3D11Impl.