Start
Guides
Class List
Files
File List
All
Classes
Files
Functions
Variables
Typedefs
Pages
video
HotTexture.hpp
1
#pragma once
2
3
#include "GLObject.hpp"
4
#include "TexType.hpp"
5
#include "TexParam.hpp"
6
#include "
Texture.hpp
"
7
#include "../config/BaseProxy.hpp"
8
9
namespace
lumina {
10
11
template
<TexType TT>
12
class
HotTexture :
public
GLObject {
13
public
:
14
~HotTexture();
15
16
void
fill(
void
* data);
17
18
private
:
19
Texture<TT>& m_tex;
20
int
m_texUnit;
21
22
HotTexture(Texture<TT>& ref,
int
texUnit);
23
void
fillSubData(GLenum format, GLenum type,
void
* data);
24
25
friend
Texture<TT>;
26
};
27
28
}
29
30
#include "HotTexture.tpp"
Texture.hpp
Defines the Texture class that represents a OpenGL texture.
Last update on Wed Aug 13 2014 for Lumina v0.1