Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
has_image.h
1
#ifndef OE_GUI_COMPONENT_UTIL_HAS_IMAGE_H
2
#define OE_GUI_COMPONENT_UTIL_HAS_IMAGE_H
3
4
namespace
oe::render
5
{
6
class
Texture;
7
}
8
9
namespace
oe::gui::component
10
{
11
class
HasImage
12
{
13
public
:
14
void
setTexture(
oe::render::Texture
* texture)
15
{
16
_texture = texture;
17
}
18
19
oe::render::Texture
* getTexture()
20
{
21
return
_texture;
22
}
23
24
protected
:
25
oe::render::Texture
* _texture;
26
};
27
}
28
#endif
29
oe::gui::component::HasImage
Definition
has_image.h:12
oe::render::Texture
Definition
texture.h:27
oe::gui::component
UI components.
Definition
component.h:15
oe::render
Render related abstractions (Shader, Framebuffer, Cubemaps, Textures)
Definition
opengl.h:10
OxygenEngine
gui
component
util
has_image.h
Generated by
1.9.8