MercuryTexture.h File Reference

#include <map>
#include "PStack.h"
#include "global.h"
#include "MercuryObject.h"

Go to the source code of this file.

Classes

struct  ImageAttrs
struct  TextureAttrs
struct  RawImageData
class  MercuryTexture
 Texture, usually an image. More...

Enumerations

enum  ColorBytes {
  BLANK = 0, BLANK1, LUMINANCE_ALPHA, RGB,
  DEPTH_COMPONENT24, RGBA, RGBA_FLOAT
}
enum  MAPPING { STANDARD = 0, SPHERE, CUBE, DOT3 }
enum  BLENDMODE {
  BLEND = 0, MODULATE, DECAL, REPLACE,
  ADD, COMBINE
}
enum  FILTER { LINEAR, NEAREST }
enum  MAPMODE { CLAMP_UV = 0, REPEAT_V = 1, REPEAT_U = 2, REPEAT_UV = 3 }

Functions

int ColorBytesToSize (ColorBytes cb)
void CaclulateDiv2Texture (const RawImageData &riIn, RawImageData &riOut)


Enumeration Type Documentation

enum BLENDMODE

Enumerator:
BLEND 
MODULATE 
DECAL 
REPLACE 
ADD 
COMBINE 

Definition at line 35 of file MercuryTexture.h.

enum ColorBytes

Enumerator:
BLANK 
BLANK1 
LUMINANCE_ALPHA 
RGB 
DEPTH_COMPONENT24 
RGBA 
RGBA_FLOAT 

Definition at line 12 of file MercuryTexture.h.

enum FILTER

Enumerator:
LINEAR 
NEAREST 

Definition at line 45 of file MercuryTexture.h.

enum MAPMODE

Enumerator:
CLAMP_UV 
REPEAT_V 
REPEAT_U 
REPEAT_UV 

Definition at line 51 of file MercuryTexture.h.

enum MAPPING

Enumerator:
STANDARD 
SPHERE 
CUBE 
DOT3 

Definition at line 27 of file MercuryTexture.h.


Function Documentation

void CaclulateDiv2Texture ( const RawImageData riIn,
RawImageData riOut 
)

Definition at line 292 of file MercuryTexture.cpp.

int ColorBytesToSize ( ColorBytes  cb  ) 

Definition at line 26 of file MercuryTexture.cpp.


Hosted by SourceForge.net Logo