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
4namespace oe::render
5{
6 class Texture;
7}
8
9namespace oe::gui::component
10{
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
Definition has_image.h:12
Definition texture.h:27
UI components.
Definition component.h:15
Render related abstractions (Shader, Framebuffer, Cubemaps, Textures)
Definition opengl.h:10