Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
GLTexture.h
Go to the documentation of this file.
1
#ifndef ULT_TEXTURE_GL_H_INCLUDED
2
#define ULT_TEXTURE_GL_H_INCLUDED
3
4
#include "
TextureType.h
"
5
6
namespace
Ult
7
{
8
9
class
GLTexture
10
{
11
public
:
12
13
GLTexture
(
int
id
,
TextureType
type);
14
virtual
~GLTexture
();
15
16
unsigned
int
GetID
()
const
{
return
mID; }
17
TextureType
GetTextureType
()
const
{
return
mType; }
18
19
private
:
20
21
unsigned
int
mID;
22
TextureType
mType;
23
24
void
FreeMemory();
25
};
26
27
}
// namespace Ult
28
29
#endif
// ULT_TEXTURE_GL_H_INCLUDED
30
TextureType.h
Ult::GLTexture::GetTextureType
TextureType GetTextureType() const
Definition
GLTexture.h:17
Ult::GLTexture::~GLTexture
virtual ~GLTexture()
Definition
GLTexture.cpp:12
Ult::GLTexture::GetID
unsigned int GetID() const
Definition
GLTexture.h:16
Ult::GLTexture::GLTexture
GLTexture(int id, TextureType type)
Definition
GLTexture.cpp:7
Ult
Definition
Archive.h:13
Ult::TextureType
TextureType
Definition
TextureType.h:8
include
Ult
Texture
GLTexture.h
Generated by
1.13.0