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
11
#include "
galaxy/graphics/gl/Texture.hpp
"
12
13
namespace
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
37
TextureView
(
TextureView
&&);
38
42
TextureView
&
operator=
(
TextureView
&&);
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
73
TextureView
&
operator=
(
const
TextureView
&) =
delete
;
74
};
75
}
// namespace graphics
76
}
// namespace galaxy
77
78
#endif
Texture.hpp
galaxy::graphics::TextureView
OpenGL 2D TextureView.
Definition
TextureView.hpp:21
galaxy::graphics::TextureView::operator=
TextureView & operator=(TextureView &&)
Move assignment operator.
Definition
TextureView.cpp:35
galaxy::graphics::TextureView::bind
void bind() override
Activate context.
Definition
TextureView.cpp:50
galaxy::graphics::TextureView::TextureView
TextureView()=delete
Constructor.
galaxy::graphics::TextureView::operator=
TextureView & operator=(const TextureView &)=delete
Copy assignment operator.
galaxy::graphics::TextureView::~TextureView
virtual ~TextureView()
Destructor.
Definition
TextureView.cpp:45
galaxy::graphics::TextureView::unbind
void unbind() override
Deactivate context.
Definition
TextureView.cpp:55
galaxy::graphics::TextureView::TextureView
TextureView(const TextureView &)=delete
Copy constructor.
galaxy::graphics::Texture
OpenGL 2D Texture.
Definition
Texture.hpp:26
galaxy
Animated.cpp galaxy.
Definition
Animated.cpp:16
galaxy
src
galaxy
graphics
gl
TextureView.hpp
Generated on Fri Sep 12 2025 07:29:47 for galaxy by
1.12.0