Base implementation of a texture object in OpenGL backend. More...
#include <TextureBaseGL.hpp>
Public Member Functions | |
| TextureBaseGL (IReferenceCounters *pRefCounters, FixedBlockMemoryAllocator &TexViewObjAllocator, RenderDeviceGLImpl *pDeviceGL, const TextureDesc &TexDesc, bool bIsDeviceInternal) | |
| virtual GLenum DILIGENT_CALL_TYPE | GetBindTarget () const override final |
| Implementation of ITextureGL::GetBindTarget(). | |
| virtual GLuint DILIGENT_CALL_TYPE | GetGLTextureHandle () const override final |
| Implementation of ITextureGL::GetGLTextureHandle(). | |
| virtual Uint64 DILIGENT_CALL_TYPE | GetNativeHandle () override final |
| Implementation of ITexture::GetNativeHandle() in OpenGL backend. | |
Public Member Functions inherited from Diligent::TextureBase< EngineGLImplTraits > | |
| TextureBase (IReferenceCounters *pRefCounters, TexViewObjAllocatorType &TexViewObjAllocator, RenderDeviceImplType *pDevice, const TextureDesc &Desc, bool bIsDeviceInternal=false) | |
| virtual void DILIGENT_CALL_TYPE | CreateView (const struct TextureViewDesc &ViewDesc, ITextureView **ppView) override |
| void | CreateDefaultViews () |
| Creates default texture views. | |
| virtual ITextureView *DILIGENT_CALL_TYPE | GetDefaultView (TEXTURE_VIEW_TYPE ViewType) override |
| Implementation of ITexture::GetDefaultView(). | |
| virtual const SparseTextureProperties &DILIGENT_CALL_TYPE | GetSparseProperties () const override final |
| Implementation of ITexture::GetSparseProperties(). | |
| TextureBase (IReferenceCounters *pRefCounters, TexViewObjAllocatorType &TexViewObjAllocator, RenderDeviceImplType *pDevice, const TextureDesc &Desc, bool bIsDeviceInternal=false) | |
| virtual void DILIGENT_CALL_TYPE | CreateView (const struct TextureViewDesc &ViewDesc, ITextureView **ppView) override |
| void | CreateDefaultViews () |
| Creates default texture views. | |
| virtual ITextureView *DILIGENT_CALL_TYPE | GetDefaultView (TEXTURE_VIEW_TYPE ViewType) override |
| Implementation of ITexture::GetDefaultView(). | |
| virtual const SparseTextureProperties &DILIGENT_CALL_TYPE | GetSparseProperties () const override final |
| Implementation of ITexture::GetSparseProperties(). | |
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 Member Functions inherited from Diligent::TextureBase< EngineGLImplTraits > | |
| virtual void | CreateViewInternal (const struct TextureViewDesc &ViewDesc, ITextureView **ppView, bool bIsDefaultView)=0 |
| Pure virtual function that is implemented in every backend. | |
| virtual void | CreateViewInternal (const struct TextureViewDesc &ViewDesc, ITextureView **ppView, bool bIsDefaultView)=0 |
| Pure virtual function that is implemented in every backend. | |
Protected Attributes inherited from Diligent::DeviceObjectBase< BaseInterface, RenderDeviceImplType, ObjectDescType > | |
| RenderDeviceImplType *const | m_pDevice |
| Pointer to the device. | |
| ObjectDescType | m_Desc |
| Object description. | |
Base implementation of a texture object in OpenGL backend.
| Diligent::TextureBaseGL::TextureBaseGL | ( | IReferenceCounters * | pRefCounters, |
| FixedBlockMemoryAllocator & | TexViewObjAllocator, | ||
| RenderDeviceGLImpl * | pDeviceGL, | ||
| const TextureDesc & | TexDesc, | ||
| bool | bIsDeviceInternal ) |
Initializes a dummy texture (dummy textures are used by the swap chain to proxy default framebuffer).