Mondschein Engine
0.3.0
|
This class implements a material scenegraph node. More...
#include <material.h>
Public Member Functions | |
virtual void | set_material_attribs (const material_attribs_t &_m) |
Set the material properties. More... | |
virtual material_attribs_t | get_material_attribs () const |
Get the material properties. More... | |
Public Member Functions inherited from mondschein::scene::Scenenode | |
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 implements a material scenegraph node.
The Material class implements generic materials used by the Mondschein Engine.
Definition at line 37 of file material.h.
|
virtual |
Get the material properties.
Definition at line 59 of file material.cpp.
|
virtual |
Set the material properties.
_m | the material properties |
Definition at line 53 of file material.cpp.