Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iPolyTexGouraud Struct Reference

Kind of texturing that is used for a 3D polygon which has gouraud-shaded texture mapping. More...

#include <ptextype.h>

Inheritance diagram for iPolyTexGouraud:

iBase List of all members.

Public Methods

virtual void Setup (iPolygon3D *iParent)=0
 Setup this lighting structure with the rignt number of vertices, taken from parent object. More...

virtual void ClearColors ()=0
 Clear all color information.

virtual csColorGetColors ()=0
 Get the pointer to the vertex color table.

virtual csColorGetStaticColors ()=0
 Get the pointer to the static vertex color table.

virtual void ResetDynamicColor (int i)=0
 Reset a dynamic color to the static values.

virtual void SetDynamicColor (int i, const csColor &c)=0
 Set a color in the dynamic array.

virtual void SetColor (int i, const csColor &c)=0
 Set a color in the static array.


Detailed Description

Kind of texturing that is used for a 3D polygon which has gouraud-shaded texture mapping.


Member Function Documentation

void iPolyTexGouraud::Setup ( iPolygon3D * p ) [pure virtual]
 

Setup this lighting structure with the rignt number of vertices, taken from parent object.

The contents of U/V array are not destroyed, if it was previously allocated.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000