Mondschein Engine  0.3.0
Public Member Functions | List of all members
mondschein::scene::Material Class Reference

This class implements a material scenegraph node. More...

#include <material.h>

Inheritance diagram for mondschein::scene::Material:
mondschein::scene::Scenenode

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...
 

Detailed Description

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.

Member Function Documentation

material_attribs_t Material::get_material_attribs ( ) const
virtual

Get the material properties.

Returns
the material properties of *this

Definition at line 59 of file material.cpp.

void Material::set_material_attribs ( const material_attribs_t _m)
virtual

Set the material properties.

Parameters
_mthe material properties

Definition at line 53 of file material.cpp.


The documentation for this class was generated from the following files: