Back to bsyte

Surface Class Reference

Eine Surface (Oberflaeche) besteht aus Textur + Lightmap Die Datenablage erfolgt maximal performant fuer den TexturMapper --> RGB pro Pixel. More...

#include <Surface.h>

Inheritance diagram for Surface:
Collaboration diagram for Surface:

List of all members.

Public Member Functions

 Surface (long id, Texture &texture)
 Konstruktor.
 Surface (long id, Texture &texture, LightMap *lightMap, BYTE rgbIntensity[256][256], BYTE intensity)
 Konstruktor.
 ~Surface (void)
 Destruktor.

Public Attributes

long m_id
int m_counter

Private Member Functions

void init (long id, Texture &texture)

Detailed Description

Eine Surface (Oberflaeche) besteht aus Textur + Lightmap Die Datenablage erfolgt maximal performant fuer den TexturMapper --> RGB pro Pixel.

Bytes/Pixel: 1 3 4 ! 1000 --------------------------------!---------- 64*64 = 4K 12K 16K ! 16M 128*128 = 16K 48K 64K ! 64M 256*256 = 64K 192K 256K ! 256M


Constructor & Destructor Documentation

Surface::Surface ( long  id,
Texture texture 
)

Konstruktor.

Parameters:
idSurface-ID
texturePaletten-Image mit oder ohne Transparenz

Here is the call graph for this function:

Surface::Surface ( long  id,
Texture texture,
LightMap lightmap,
BYTE  rgbIntensity[256][256],
BYTE  intensity 
)

Konstruktor.

Parameters:
idSurface-ID
texturePaletten-Image mit oder ohne Transparenz
lightmapLightMap
rgbIntensityMappingmatrix
intensity

Here is the call graph for this function:

Surface::~Surface ( void  )

Destruktor.


Member Function Documentation

void Surface::init ( long  id,
Texture texture 
) [private]

Member Data Documentation


The documentation for this class was generated from the following files: