Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonGames::OpenGLTexture Class Reference

OpenGL texture resource wrapper. More...

#include <C:/Code/AeonEngine/engine/renderers/opengl/OpenGLTexture.hpp>

Collaboration diagram for AeonGames::OpenGLTexture:
Collaboration graph

Public Member Functions

 OpenGLTexture (OpenGLRenderer &aOpenGLRenderer, const Texture &aTexture)
 OpenGLTexture (OpenGLTexture &&aOpenGLTexture)
 Move constructor.
 OpenGLTexture (const OpenGLTexture &)=delete
OpenGLTextureoperator= (const OpenGLTexture &)=delete
OpenGLTextureoperator= (OpenGLTexture &&)=delete
GLuint GetTextureId () const
 Get the OpenGL texture object identifier.

Detailed Description

OpenGL texture resource wrapper.

Definition at line 25 of file OpenGLTexture.hpp.

Constructor & Destructor Documentation

◆ OpenGLTexture() [1/2]

AeonGames::OpenGLTexture::OpenGLTexture ( OpenGLRenderer & aOpenGLRenderer,
const Texture & aTexture )

<

Todo
decide if this should be a separate variable

Definition at line 31 of file OpenGLTexture.cpp.

◆ OpenGLTexture() [2/2]

AeonGames::OpenGLTexture::OpenGLTexture ( OpenGLTexture && aOpenGLTexture)

Move constructor.

Definition at line 24 of file OpenGLTexture.cpp.

◆ ~OpenGLTexture()

AeonGames::OpenGLTexture::~OpenGLTexture ( )

Definition at line 72 of file OpenGLTexture.cpp.

Member Function Documentation

◆ GetTextureId()

GLuint AeonGames::OpenGLTexture::GetTextureId ( ) const

Get the OpenGL texture object identifier.

Definition at line 82 of file OpenGLTexture.cpp.


The documentation for this class was generated from the following files: