OpenGL 2D TextureView.
More...
#include <TextureView.hpp>
|
| | TextureView (const unsigned int parent, const unsigned int minlevel, const unsigned int numlevels, const unsigned int minlayer, const unsigned int numlayers) noexcept |
| | Args constructor.
|
| |
| | TextureView (TextureView &&) noexcept |
| | Move constructor.
|
| |
| TextureView & | operator= (TextureView &&) noexcept |
| | Move assignment operator.
|
| |
| | ~TextureView () noexcept |
| | Destructor.
|
| |
| unsigned int | id () const noexcept |
| | Get OpenGL texture id.
|
| |
OpenGL 2D TextureView.
Definition at line 16 of file TextureView.hpp.
◆ TextureView() [1/4]
| galaxy::TextureView::TextureView |
( |
const unsigned int | parent, |
|
|
const unsigned int | minlevel, |
|
|
const unsigned int | numlevels, |
|
|
const unsigned int | minlayer, |
|
|
const unsigned int | numlayers ) |
|
noexcept |
Args constructor.
- Parameters
-
| parent | Texture id of which to create a view from. |
| minlevel | Mipmap level. |
| numlevels | Number of mipmaps to include. |
| minlayer | Specifies the index of the first layer to include in the view. |
| numlayers | Specifies the number of layers to include in the view. |
Definition at line 14 of file TextureView.cpp.
◆ TextureView() [2/4]
◆ ~TextureView()
| galaxy::TextureView::~TextureView |
( |
| ) |
|
|
noexcept |
◆ TextureView() [3/4]
| galaxy::TextureView::TextureView |
( |
| ) |
|
|
privatedelete |
◆ TextureView() [4/4]
| galaxy::TextureView::TextureView |
( |
const TextureView & | | ) |
|
|
privatedelete |
◆ operator=() [1/2]
◆ id()
| unsigned int galaxy::TextureView::id |
( |
| ) |
const |
|
nodiscardnoexcept |
Get OpenGL texture id.
- Returns
- Unsigned int.
Definition at line 52 of file TextureView.cpp.
◆ operator=() [2/2]
Copy assignment operator.
◆ m_id
| unsigned int galaxy::TextureView::m_id |
|
private |
The documentation for this class was generated from the following files: