| 1234567891011121314151617181920212223242526272829303132 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsGLPrerequisites.h"
- #include "BsTextureView.h"
- namespace bs { namespace ct
- {
- /** @addtogroup GL
- * @{
- */
- /** OpenGL implementation of a texture resource view. */
- class GLTextureView : public TextureView
- {
- public:
- ~GLTextureView();
- /** Returns internal OpenGL texture view handle. */
- GLuint getGLID() const { return mViewID; }
- protected:
- friend class GLTexture;
- GLTextureView(const GLTexture* texture, const TEXTURE_VIEW_DESC& desc);
- private:
- GLuint mViewID;
- };
- /** @} */
- }}
|