CrystalSpace

Public API Reference

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

csGenerateImageTexture Class Reference

A base class which represents a texture that can be displayed on the terrain. More...

#include <gentrtex.h>

Inheritance diagram for csGenerateImageTexture:

csGenerateImageTextureBlend csGenerateImageTextureSingle csGenerateImageTextureSolid List of all members.

Public Methods

virtual ~csGenerateImageTexture ()
 delete it

virtual void GetColor (csColor &col, float x, float y)=0
 get color (0..1) for location


Detailed Description

A base class which represents a texture that can be displayed on the terrain.

It has a colour for each pixel

Definition at line 48 of file gentrtex.h.


Constructor & Destructor Documentation

virtual csGenerateImageTexture::~csGenerateImageTexture   [inline, virtual]
 

delete it

Definition at line 52 of file gentrtex.h.


Member Function Documentation

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

get color (0..1) for location

Implemented in csGenerateImageTextureSolid, csGenerateImageTextureSingle, and csGenerateImageTextureBlend.


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