CrystalSpace

Public API Reference

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

iRendererLightmap Struct Reference
[3D]

A lightmap registered with a renderer. More...

#include <txtmgr.h>

Inheritance diagram for iRendererLightmap:

iBase List of all members.

Public Methods

virtual void GetRendererCoords (float &lm_u1, float &lm_v1, float &lm_u2, float &lm_v2)=0
 Retrieve the coordinates of this lightmap in the superlightmap, in a system the renderer uses internally. More...

virtual void GetSLMCoords (int &left, int &top, int &width, int &height)=0
 Retrieve the coordinates of this lightmap in the superlightmap, in the 'absolute' system used by iSuperLightmap::RegisterLightmap(). More...

virtual void SetData (csRGBpixel *data)=0
 Set the image data of this lightmap. More...


Detailed Description

A lightmap registered with a renderer.

Definition at line 92 of file txtmgr.h.


Member Function Documentation

virtual void iRendererLightmap::GetRendererCoords float &    lm_u1,
float &    lm_v1,
float &    lm_u2,
float &    lm_v2
[pure virtual]
 

Retrieve the coordinates of this lightmap in the superlightmap, in a system the renderer uses internally.

Calculate lightmap U/Vs within this bounds when they are intended to be passed to the renderer.

virtual void iRendererLightmap::GetSLMCoords int &    left,
int &    top,
int &    width,
int &    height
[pure virtual]
 

Retrieve the coordinates of this lightmap in the superlightmap, in the 'absolute' system used by iSuperLightmap::RegisterLightmap().

virtual void iRendererLightmap::SetData csRGBpixel   data [pure virtual]
 

Set the image data of this lightmap.


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