All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Constant Groups | Macros | Typedefs | Enumerations
PVRTextureDefines.h File Reference

Method, template and type defines for PVRTexture. More...

#include "PVRTTexture.h"

Go to the source code of this file.

Namespaces

 pvrtexture
 PVRTexture namespace. Contains methods and classes for PVRTexLib.
 

Constant Groups

 pvrtexture
 PVRTexture namespace. Contains methods and classes for PVRTexLib.
 

Macros

#define PVR_DLL
 Required to use PVRTexLib.dll on Windows. More...
 
#define TEXOFFSET2D(x, y, width)   ( ((x)+(y)*(width)) )
 2D texture offset More...
 
#define TEXOFFSET3D(x, y, z, width, height)   ( ((x)+(y)*(width)+(z)*(width)*(height)) )
 3D texture offset More...
 

Typedefs

typedef signed char pvrtexture::int8
 Signed 8 bit integer. More...
 
typedef signed short pvrtexture::int16
 Signed 16 bit integer. More...
 
typedef signed int pvrtexture::int32
 Signed 32 bit integer. More...
 
typedef signed long long pvrtexture::int64
 Signed 64 bit integer. More...
 
typedef unsigned char pvrtexture::uint8
 Unsigned 8 bit integer. More...
 
typedef unsigned short pvrtexture::uint16
 Unsigned 16 bit integer. More...
 
typedef unsigned int pvrtexture::uint32
 Unsigned 32 bit integer. More...
 
typedef unsigned long long pvrtexture::uint64
 Unsigned 64 bit integer. More...
 
typedef CPVRTMap< uint32,
CPVRTMap< uint32,
MetaDataBlock > > 
pvrtexture::MetaDataMap
 Useful typedef for generating maps of MetaData blocks. More...
 

Enumerations

enum  pvrtexture::ECompressorQuality {
  pvrtexture::ePVRTCFastest =0, pvrtexture::ePVRTCFast, pvrtexture::ePVRTCNormal, pvrtexture::ePVRTCHigh,
  pvrtexture::ePVRTCBest, pvrtexture::eNumPVRTCModes, pvrtexture::eETCFast =0, pvrtexture::eETCFastPerceptual,
  pvrtexture::eETCSlow, pvrtexture::eETCSlowPerceptual, pvrtexture::eNumETCModes
}
 Quality level to compress the texture with. Currently valid with ETC and PVRTC formats. More...
 
enum  pvrtexture::EResizeMode { pvrtexture::eResizeNearest, pvrtexture::eResizeLinear, pvrtexture::eResizeCubic, pvrtexture::eNumResizeModes }
 Texture resize mode. More...
 
enum  pvrtexture::ELegacyApi {
  pvrtexture::eOGLES =1, pvrtexture::eOGLES2, pvrtexture::eD3DM, pvrtexture::eOGL,
  pvrtexture::eDX9, pvrtexture::eDX10, pvrtexture::eOVG, pvrtexture::eMGL
}
 Legacy API enum. More...
 

Detailed Description

Method, template and type defines for PVRTexture.


Copyright:
Copyright (c) Imagination Technologies Limited.

Macro Definition Documentation

#define PVR_DLL

Required to use PVRTexLib.dll on Windows.


#define TEXOFFSET2D (   x,
  y,
  width 
)    ( ((x)+(y)*(width)) )

2D texture offset


#define TEXOFFSET3D (   x,
  y,
  z,
  width,
  height 
)    ( ((x)+(y)*(width)+(z)*(width)*(height)) )

3D texture offset