In file libs/cs3d/common/txtmgr.h:

## class csTextureManager : public ITextureManager

> General version of the texture manager

## Inheritance:

### Public Fields

static Filter3x3 blend_filter
  Filter to use when performing blending.
bool do_blend_mipmap0
  Configuration value: blend mipmap level 0.
bool do_lightmapgrid
  For debugging: show lightmapgrid.
bool do_lightmaponly
  For debugging: don't show textures but only map lightmaps.
csTextureFactory* factory_2d
  Factory to create the 2D textures.
csTextureFactory* factory_3d
  Factory to create the 3D textures.
int force_mix
  Force value (set by commandline) (-1 = no force)
float Gamma
  Texture gamma
IGraphics2D* m_piG2D
ISystem* m_piSystem
static Filter3x3 mipmap_filter_1
  Filter to use when mipmapping 1 level.
static Filter5x5 mipmap_filter_2
  Filter to use when mipmapping 2 levels.
int mipmap_nice
  Configuration value: how is mipmapping done (one of MIPMAP_...)
int mixing
  How do we mix colors (one of MIX_...)
bool use_rgb
  If true we have R,G,B lights.
bool verbose
  Verbose mode.

### Public Methods

int black()
int blue()
virtual void clear()
csTextureManager(ISystem* piSystem, IGraphics2D* piG2D)
virtual int find_color(int r, int g, int b)
STDMETHODIMP FindRGB(int r, int g, int b, int& color)
int get_almost_black()
  Query the "almost-black" color used for opaque black in transparent textures
int get_display_depth()
  Get depth of the display for which this texture manager is used
STDMETHODIMP GetVeryNice(bool& result)
int green()
virtual void InitSystem()
const csPixelFormat& pixel_format()
  Get pixel format structure
int red()
STDMETHODIMP SetVerbose(bool vb)
int white()
int yellow()
virtual ~csTextureManager()

### Protected Fields

csPixelFormat pfmt
  Pixel format.
int red_color
csVector textures
  List of textures.

## Documentation

> General version of the texture manager

`csVector textures`
  List of textures.

`csPixelFormat pfmt`
  Pixel format.

`int red_color`

`ISystem* m_piSystem`

`IGraphics2D* m_piG2D`

`bool verbose`
  Verbose mode.

`csTextureFactory* factory_3d`
  Factory to create the 3D textures.

`csTextureFactory* factory_2d`
  Factory to create the 2D textures.

`float Gamma`
  Texture gamma

`int mipmap_nice`
  Configuration value: how is mipmapping done (one of MIPMAP_...)

`bool do_blend_mipmap0`
  Configuration value: blend mipmap level 0.

`bool do_lightmapgrid`
  For debugging: show lightmapgrid.

`bool do_lightmaponly`
  For debugging: don't show textures but only map lightmaps.

`static Filter3x3 mipmap_filter_1`
  Filter to use when mipmapping 1 level.

`static Filter5x5 mipmap_filter_2`
  Filter to use when mipmapping 2 levels.

`static Filter3x3 blend_filter`
  Filter to use when performing blending.

`int mixing`
  How do we mix colors (one of MIX_...)

`int force_mix`
  Force value (set by commandline) (-1 = no force)

`bool use_rgb`
  If true we have R,G,B lights.

`csTextureManager(ISystem* piSystem, IGraphics2D* piG2D)`

`virtual ~csTextureManager()`

`virtual void InitSystem()`

`virtual int find_color(int r, int g, int b)`

`virtual void clear()`

`STDMETHODIMP FindRGB(int r, int g, int b, int& color)`

`STDMETHODIMP GetVeryNice(bool& result)`

`STDMETHODIMP SetVerbose(bool vb)`

`int get_display_depth()`
  Get depth of the display for which this texture manager is used

`const csPixelFormat& pixel_format()`
  Get pixel format structure

`int red()`

`int blue()`

`int yellow()`

`int green()`

`int white()`

`int black()`

`int get_almost_black()`
  Query the "almost-black" color used for opaque black in transparent textures

Direct child classes:
  csTextureManagerSoftware
  csTextureManagerOpenGL
  csTextureManagerGlide
  csTextureManagerDirect3D

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de