Diligent Engine
Loading...
Searching...
No Matches
Diligent::BufferGLImpl Class Referencefinal

Buffer object implementation in OpenGL backend. More...

#include <BufferGLImpl.hpp>

Inheritance diagram for Diligent::BufferGLImpl:
Diligent::BufferBase< EngineGLImplTraits > Diligent::DeviceObjectBase< BaseInterface, RenderDeviceImplType, ObjectDescType > Diligent::ObjectBase< BaseInterface > Diligent::RefCountedObject< BaseInterface >

Public Member Functions

void UpdateData (GLContextState &CtxState, Uint64 Offset, Uint64 Size, const void *pData)
 Queries the specific interface, see IObject::QueryInterface() for details.
virtual GLuint DILIGENT_CALL_TYPE GetGLBufferHandle () const override final
 Implementation of IBufferGL::GetGLBufferHandle().
virtual Uint64 DILIGENT_CALL_TYPE GetNativeHandle () override final
 Implementation of IBuffer::GetNativeHandle() in OpenGL backend.
Public Member Functions inherited from Diligent::BufferBase< EngineGLImplTraits >
 BufferBase (IReferenceCounters *pRefCounters, TBuffViewObjAllocator &BuffViewObjAllocator, RenderDeviceImplType *pDevice, const BufferDesc &BuffDesc, bool bIsDeviceInternal)
virtual void DILIGENT_CALL_TYPE CreateView (const struct BufferViewDesc &ViewDesc, IBufferView **ppView) override
virtual IBufferView *DILIGENT_CALL_TYPE GetDefaultView (BUFFER_VIEW_TYPE ViewType) override
 Implementation of IBuffer::GetDefaultView().
void CreateDefaultViews ()
 Creates default buffer views.
Public Member Functions inherited from Diligent::DeviceObjectBase< BaseInterface, RenderDeviceImplType, ObjectDescType >
 DeviceObjectBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const ObjectDescType &ObjDesc, bool bIsDeviceInternal=false)
virtual Int32 DILIGENT_CALL_TYPE GetUniqueID () const override final
 Returns unique identifier.
virtual void DILIGENT_CALL_TYPE SetUserData (IObject *pUserData) override final
 Implementation of IDeviceObject::SetUserData.
virtual IObject *DILIGENT_CALL_TYPE GetUserData () const override final
 Implementation of IDeviceObject::GetUserData.

Additional Inherited Members

Protected Attributes inherited from Diligent::BufferBase< EngineGLImplTraits >
std::unique_ptr< BufferViewImplType, STDDeleter< BufferViewImplType, TBuffViewObjAllocator > > m_pDefaultUAV
 Default UAV addressing the entire buffer.
std::unique_ptr< BufferViewImplType, STDDeleter< BufferViewImplType, TBuffViewObjAllocator > > m_pDefaultSRV
 Default SRV addressing the entire buffer.
Protected Attributes inherited from Diligent::DeviceObjectBase< BaseInterface, RenderDeviceImplType, ObjectDescType >
RenderDeviceImplType *const m_pDevice
 Pointer to the device.
ObjectDescType m_Desc
 Object description.

Detailed Description

Buffer object implementation in OpenGL backend.