galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
TextureView.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_GRAPHICS_GL_TEXTUREVIEW_HPP_
9#define GALAXY_GRAPHICS_GL_TEXTUREVIEW_HPP_
10
12
13namespace galaxy
14{
15 namespace graphics
16 {
20 class TextureView final : public Texture
21 {
22 public:
32 TextureView(const unsigned int parent, const unsigned int minlevel, const unsigned int numlevels, const unsigned int minlayer, const unsigned int numlayers);
33
38
43
47 virtual ~TextureView();
48
52 void bind() override;
53
57 void unbind() override;
58
59 private:
63 TextureView() = delete;
64
68 TextureView(const TextureView&) = delete;
69
74 };
75 } // namespace graphics
76} // namespace galaxy
77
78#endif
OpenGL 2D TextureView.
TextureView & operator=(TextureView &&)
Move assignment operator.
void bind() override
Activate context.
TextureView()=delete
Constructor.
TextureView & operator=(const TextureView &)=delete
Copy assignment operator.
virtual ~TextureView()
Destructor.
void unbind() override
Deactivate context.
TextureView(const TextureView &)=delete
Copy constructor.
OpenGL 2D Texture.
Definition Texture.hpp:26
Animated.cpp galaxy.
Definition Animated.cpp:16