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

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

Inheritance diagram for Diligent::IBufferGL:
Diligent::IBuffer Diligent::IDeviceObject Diligent::RefCountedObject< IBufferGL > Diligent::ObjectBase< IBufferGL > Diligent::DeviceObjectBase< IBufferGL, BufferDesc > Diligent::BufferBase< IBufferGL, BufferViewGLImpl, FixedBlockMemoryAllocator > Diligent::BufferGLImpl

Public Member Functions

virtual GLuint GetGLBufferHandle ()=0
 Returns OpenGL buffer handle.
 
- 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, Uint32 MapFlags)=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...
 
virtual void * GetNativeHandle ()=0
 Returns native buffer handle specific to the underlying graphics API. More...
 
- Public Member Functions inherited from Diligent::IDeviceObject
virtual void QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface, see IObject::QueryInterface() for details.
 

Detailed Description

Interface to the buffer object implemented in OpenGL.