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
namespace
galaxy
12
{
16
class
TextureView
final
17
{
18
public
:
28
TextureView
(
const
unsigned
int
parent,
const
unsigned
int
minlevel,
const
unsigned
int
numlevels,
const
unsigned
int
minlayer,
const
unsigned
int
numlayers)
noexcept
;
29
33
TextureView
(
TextureView
&&)
noexcept
;
34
38
TextureView
&
operator=
(
TextureView
&&)
noexcept
;
39
43
~TextureView
()
noexcept
;
44
50
[[nodiscard]]
51
unsigned
int
id
()
const
noexcept
;
52
53
private
:
57
TextureView
() =
delete
;
58
62
TextureView
(
const
TextureView
&) =
delete
;
63
67
TextureView
&
operator=
(
const
TextureView
&) =
delete
;
68
69
private
:
73
unsigned
int
m_id
;
74
};
75
}
// namespace galaxy
76
77
#endif
galaxy::TextureView
OpenGL 2D TextureView.
Definition
TextureView.hpp:17
galaxy::TextureView::TextureView
TextureView(const TextureView &)=delete
Copy constructor.
galaxy::TextureView::id
unsigned int id() const noexcept
Get OpenGL texture id.
Definition
TextureView.cpp:52
galaxy::TextureView::~TextureView
~TextureView() noexcept
Destructor.
Definition
TextureView.cpp:47
galaxy::TextureView::operator=
TextureView & operator=(const TextureView &)=delete
Copy assignment operator.
galaxy::TextureView::m_id
unsigned int m_id
Texture view id.
Definition
TextureView.hpp:73
galaxy::TextureView::operator=
TextureView & operator=(TextureView &&) noexcept
Move assignment operator.
Definition
TextureView.cpp:34
galaxy::TextureView::TextureView
TextureView()=delete
Constructor.
galaxy
Animated.cpp galaxy.
Definition
Animated.cpp:16
galaxy
src
galaxy
graphics
gl
TextureView.hpp
Generated on Wed Jan 7 2026 11:41:10 for galaxy by
1.12.0