Diligent Engine API Reference
|
Buffer view interface. More...
Public Member Functions | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
virtual const BufferViewDesc & | GetDesc () const =0 |
Returns the buffer view description used to create the object. | |
virtual IBuffer * | GetBuffer ()=0 |
Returns pointer to the referenced buffer object. 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 IReferenceCounters * | GetReferenceCounters () 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. | |
Buffer view interface.
To create a buffer view, call IBuffer::CreateView().
|
pure virtual |
Returns pointer to the referenced buffer object.
The method does NOT call AddRef() on the returned interface, so Release() must not be called.
Implemented in Diligent::BufferViewBase< IBufferViewD3D11, FixedBlockMemoryAllocator >, Diligent::BufferViewBase< IBufferViewGL, FixedBlockMemoryAllocator >, and Diligent::BufferViewBase< IBufferViewD3D12, FixedBlockMemoryAllocator >.