Mondschein Engine
0.3.0
|
This class represents a texture. More...
#include <texture.h>
Public Member Functions | |
virtual void | set_texture_attribs (const texture_attribs_t &_t) |
Set the texture properties. More... | |
virtual texture_attribs_t | get_texture_attribs () const |
Get the texture properties. More... | |
![]() | |
virtual void | set_renderables (const std::map< std::string, renderer::Renderable_c > &_r) |
Set the renderable objects. More... | |
virtual std::map< std::string, renderer::Renderable_c > | get_renderables () const |
Get the renderable objects. More... | |
virtual void | set_id (const std::string &_id) |
Set the scenenode id. More... | |
virtual std::string | get_id () const |
Get the scenenode id. More... | |
This class represents a texture.
The Texture class represents a generic texture object. Thus a texture can be a colour texture, a lightmap, a normalmap, etc.
The purpose of a texture depends on the renderer being used.
|
virtual |
Get the texture properties.
Definition at line 59 of file texture.cpp.
|
virtual |
Set the texture properties.
_t | the texture properties |
Definition at line 53 of file texture.cpp.