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

This class represents a texture. More...

#include <texture.h>

Inheritance diagram for mondschein::scene::Texture:
mondschein::scene::Scenenode

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

Definition at line 38 of file texture.h.

Member Function Documentation

texture_attribs_t Texture::get_texture_attribs ( ) const
virtual

Get the texture properties.

Returns
the texture properties of *this

Definition at line 59 of file texture.cpp.

void Texture::set_texture_attribs ( const texture_attribs_t _t)
virtual

Set the texture properties.

Parameters
_tthe texture properties

Definition at line 53 of file texture.cpp.


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