CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csGenerateImageTextureBlend Class Reference

a class for a texture that is made by blending together other textures based on a value. More...

#include <gentrtex.h>

Inheritance diagram for csGenerateImageTextureBlend:

csGenerateImageTexture List of all members.

Public Methods

virtual ~csGenerateImageTextureBlend ()
 deletes the list too

virtual void GetColor (csColor &col, float x, float y)
 get the color

void AddLayer (float value, csGenerateImageTexture *tex)
 add a layer correctly sorted into the list


Public Attributes

csGenerateImageLayerlayers
 the list - sorted by value - of layers

csGenerateImageValuevaluefunc
 the value function object


Detailed Description

a class for a texture that is made by blending together other textures based on a value.

It has a set of layers to blend between.

Definition at line 159 of file gentrtex.h.


Constructor & Destructor Documentation

virtual csGenerateImageTextureBlend::~csGenerateImageTextureBlend   [virtual]
 

deletes the list too


Member Function Documentation

void csGenerateImageTextureBlend::AddLayer float    value,
csGenerateImageTexture   tex
 

add a layer correctly sorted into the list

virtual void csGenerateImageTextureBlend::GetColor csColor   col,
float    x,
float    y
[virtual]
 

get the color

Implements csGenerateImageTexture.


Member Data Documentation

csGenerateImageLayer* csGenerateImageTextureBlend::layers
 

the list - sorted by value - of layers

Definition at line 164 of file gentrtex.h.

csGenerateImageValue* csGenerateImageTextureBlend::valuefunc
 

the value function object

Definition at line 166 of file gentrtex.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18