26 #include "BaseInterfacesGL.h" 27 #include "TextureViewGL.h" 28 #include "TextureViewBase.h" 29 #include "RenderDevice.h" 30 #include "GLObjectWrapper.h" 35 class FixedBlockMemoryAllocator;
46 bool bCreateGLViewTex,
47 bool bIsDefaultView );
50 virtual void QueryInterface(
const Diligent::INTERFACE_ID &IID, IObject **ppInterface )
override;
52 const GLObjectWrappers::GLTextureObj& GetHandle();
53 GLenum GetBindTarget();
54 void SetBindTarget(GLenum ViewTexBindTarget) { m_ViewTexBindTarget = ViewTexBindTarget; }
59 GLObjectWrappers::GLTextureObj m_ViewTexGLHandle;
60 GLenum m_ViewTexBindTarget;
Base implementation of the Diligent::ITextureGL interface.
Definition: TextureBaseGL.h:41
Render device interface.
Definition: RenderDevice.h:55
void GenerateMips(IDeviceContext *pContext) override
Generates a mipmap chain.
Definition: TextureViewGLImpl.cpp:75
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Implementation of the Diligent::ITextureViewGL interface.
Definition: TextureViewGLImpl.h:37
Device context interface.
Definition: DeviceContext.h:443
Template class implementing base functionality for a texture view interface.
Definition: TextureViewBase.h:42
Texture view description.
Definition: TextureView.h:55
virtual void QueryInterface(const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override
Queries the specific interface, see IObject::QueryInterface() for details.