Diligent::TextureBaseGL class

Base implementation of a texture object in OpenGL backend.

Base classes

template<typename EngineImplTraits>
class TextureBase<EngineGLImplTraits>
Base implementation of the ITexture interface.

Derived classes

class Texture1D_GL final
1D texture implementation in OpenGL backend.
class Texture1DArray_GL final
1D texture array implementation in OpenGL backend.
class Texture2D_GL final
2D texture implementation in OpenGL backend.
class Texture2DArray_GL final
2D texture array implementation in OpenGL backend.
class Texture3D_GL final
3D texture implementation in OpenGL backend.
class TextureCube_GL final
Cube texture implementation in OpenGL backend.
class TextureCubeArray_GL final
Cube array texture implementation in OpenGL backend.

Constructors, destructors, conversion operators

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).

Public functions

auto GetBindTarget() const -> GLenum final
Implementation of ITextureGL::GetBindTarget().
auto GetGLTextureHandle() -> GLuint final
Implementation of ITextureGL::GetGLTextureHandle().
auto GetNativeHandle() -> void* final
Implementation of ITexture::GetNativeHandle() in OpenGL backend.