Diligent Engine API Reference
|
Implementation of the Diligent::IBufferGL interface. More...
Public Member Functions | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override |
Queries the specific interface, see IObject::QueryInterface() for details. | |
virtual void | UpdateData (IDeviceContext *pContext, Uint32 Offset, Uint32 Size, const PVoid pData) override |
Base implementation of IBuffer::UpdateData(); validates input parameters. | |
virtual void | CopyData (IDeviceContext *pContext, IBuffer *pSrcBuffer, Uint32 SrcOffset, Uint32 DstOffset, Uint32 Size) override |
Base implementation of IBuffer::CopyData(); validates input parameters. | |
virtual void | Map (IDeviceContext *pContext, MAP_TYPE MapType, Uint32 MapFlags, PVoid &pMappedData) override |
Base implementation of IBuffer::Map(); validates input parameters. | |
virtual void | Unmap (IDeviceContext *pContext, MAP_TYPE MapType, Uint32 MapFlags) override |
Base implementation of IBuffer::Unmap() | |
virtual GLuint | GetGLBufferHandle () override final |
Returns OpenGL buffer handle. | |
virtual void * | GetNativeHandle () override final |
Returns native buffer handle specific to the underlying graphics API. More... | |
![]() | |
BufferBase (IReferenceCounters *pRefCounters, FixedBlockMemoryAllocator &BuffViewObjAllocator, IRenderDevice *pDevice, const BufferDesc &BuffDesc, bool bIsDeviceInternal) | |
virtual void | CreateView (const struct BufferViewDesc &ViewDesc, IBufferView **ppView) override |
Implementation of IBuffer::CreateView(); calls CreateViewInternal() virtual function that creates buffer view for the specific engine implementation. | |
virtual IBufferView * | GetDefaultView (BUFFER_VIEW_TYPE ViewType) override |
Implementation of IBuffer::GetDefaultView(). | |
void | CreateDefaultViews () |
Creates default buffer views. More... | |
![]() | |
DeviceObjectBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const BufferDesc &ObjDesc, bool bIsDeviceInternal=false) | |
virtual const BufferDesc & | GetDesc () const override final |
UniqueIdentifier | GetUniqueID () const |
Returns unique identifier. More... | |
![]() | |
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
Additional Inherited Members | |
![]() | |
void | CorrectBufferViewDesc (struct BufferViewDesc &ViewDesc) |
Corrects buffer view description and validates view parameters. | |
![]() | |
std::unique_ptr< BufferViewGLImpl, STDDeleter< BufferViewGLImpl, FixedBlockMemoryAllocator > > | m_pDefaultUAV |
Default UAV addressing the entire buffer. | |
std::unique_ptr< BufferViewGLImpl, STDDeleter< BufferViewGLImpl, FixedBlockMemoryAllocator > > | m_pDefaultSRV |
Default SRV addressing the entire buffer. | |
![]() | |
const String | m_ObjectNameCopy |
Copy of a device object name. More... | |
BufferDesc | m_Desc |
Object description. | |
Implementation of the Diligent::IBufferGL interface.
|
inlinefinaloverridevirtual |
Returns native buffer handle specific to the underlying graphics API.
Implements Diligent::IBuffer.