ScEng::Material Class Reference

This class represents all the blocks related with materials. These are Materials, Textures and PlaceTexture. More...

#include <material.h>

Inheritance diagram for ScEng::Material:

ScEng::Block ScEng::NodeMaterials ScEng::Place2DTexture ScEng::Place3DTexture ScEng::StandardMaterial ScEng::Texture ScEng::BitmapTexture ScEng::MarbleTexture ScEng::MaskTexture ScEng::MixTexture ScEng::NoiseTexture ScEng::SimbionTexture ScEng::TextureLayers ScEng::WoodTexture List of all members.

Public Member Functions

virtual std::string GetName ()=0
 Virtual function.
virtual void SetName (std::string new_name)=0
 Virtual function.
virtual void SetNumSubMaterials (int num)=0
 Virtual function.
virtual int GetNumSubMaterials ()=0
 Virtual function.
virtual MaterialGetSubMaterial (int i)=0
 Virtual function.
virtual void SetSubMaterial (int i, Material *material)=0
 Virtual function.
virtual void SetNumSubTextures (int num)=0
 Virtual function.
virtual int GetNumSubTextures ()=0
 Virtual function.
virtual TextureGetSubTexture (int i)=0
 Virtual function.
virtual void SetSubTexture (int i, Texture *texture)=0
 Virtual function.
virtual void Shade (DifferentialGeometry &dg)=0
 Virtual function.
void DependancyChanged (Block *dependancy, unsigned int message=0, unsigned int parameters=0)

Detailed Description

This class represents all the blocks related with materials. These are Materials, Textures and PlaceTexture.


Member Function Documentation

void ScEng::Material::DependancyChanged ( Block dependancy,
unsigned int  message = 0,
unsigned int  parameters = 0 
) [inline, virtual]

A block receives this message when one of its dependencies has changed.

Parameters:
dependency The dependancy that changed
message A message about the change

Reimplemented from ScEng::Block.


The documentation for this class was generated from the following file:
Generated on Thu Sep 6 10:49:22 2007 for SceneEngine by  doxygen 1.5.1-p1