eng_texture.cc File Reference

Texture code. More...

#include "base.hh"
#include "base_file.hh"
#include "gfx.hh"
#include "eng.hh"

Namespaces

namespace  eng

Defines

#define ENG_TEXTURE_CC   1
#define CODE_VERBOSE(CODE)   {{ }}

Typedefs

typedef map< string,
TextureConfig > 
eng::TextureConfigMap

Functions

void eng::ConfigureTexture (SharedPtr< Texture > texture, const string &textureName)

Variables

TextureConfigMap eng::sTextureConfigMap


Detailed Description

Texture code.

Id
LastChangedDate

Author:
Jim E. Brooks http://www.palomino3d.org
 *
 * How texture images are loaded:
 * - Texture directories:
 *   During startup, a module tells the engine where the texture directory(s) is
 *   by calling Engine::SetTextureDirs().
 * - Texture settings/configuration:
 *   In each texture directory, the engine parses a file named "texture.conf".
 * - Texture image:
 *   The engine loads texture images from every file into a Texture object.
 * - Optionaly pre-filtering of a texture image:
 *   Before actually constructing a Texture object, the engine broadcasts
 *   an event to allow a listening module to pre-filter the image.
 * - Mapping textures:
 *   Textures are mapped by their filename minus suffix.
 *
 * Texture images can be loaded only from Targa files.
 *
 * 

Define Documentation

#define CODE_VERBOSE ( CODE   )     {{ }}

#define ENG_TEXTURE_CC   1


Variable Documentation

gfx::TextureModes::eFunc mFunc

gfx::TextureModes::eMagFilter mMagFilter

gfx::TextureModes::eMinFilter mMinFilter

gfx::TextureModes::eFunc msDefaultFunc [static]

gfx::TextureModes::eMagFilter msDefaultMagFilter [static]

gfx::TextureModes::eMinFilter msDefaultMinFilter [static]

gfx::TextureModes::eWrap msDefaultWrap [static]

gfx::TextureModes::eWrap mWrap

Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:14 2007