|
Untitled Game engine no.5
1.0
|
Container for texture data. More...
#include <Texture.hpp>

Public Member Functions | |
| virtual uint32_t | getID () const |
| Texture id - an id link to the texture. | |
| virtual float | getWidth () const |
| visual width of the texture in game dimensions | |
| virtual float | getHeight () const |
| visual height of the texture in game dimensions | |
| virtual void | setWidth (float width) |
| visual width of the texture in game dimensions | |
| virtual void | setHeight (float height) |
| visual height of the texture in game dimensions | |
| virtual void | setSize (float width, float height) |
| visual size of the texture in game dimensions | |
| virtual void | setID (uint32_t id) |
| set texture id | |
| virtual void | Bind (uint32_t slot=0) const |
| virtual Ref< TextureMap > | getDefaultMapping () const |
| Get the texture mapping. | |
Public Attributes | |
| int | renderSlot = -1 |
Container for texture data.
|
inlinevirtual |
Bind texture data using the id and a current slot
| slot | to bind texture to |
Reimplemented in Engine::GLTexture2D.
1.8.17