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... | |
![]() | |
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
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< IBufferViewGL >, Diligent::BufferViewBase< IBufferViewD3D11 >, and Diligent::BufferViewBase< IBufferViewD3D12 >.