#include <string>#include <map>#include <celutil/resmanager.h>#include <celengine/texture.h>#include "multitexture.h"Include dependency graph for texmanager.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef ResourceManager< TextureInfo > | TextureManager |
Functions | |
| TextureManager * | GetTextureManager () |
| bool | operator< (const TextureInfo &ti0, const TextureInfo &ti1) |
|
|
Definition at line 87 of file texmanager.h. |
|
|
Definition at line 30 of file texmanager.cpp. References textureManager. Referenced by Convert3DSMesh(), convertToVertexList(), ConvertToVertexList(), createBumpMap(), createTexture(), MultiResTexture::find(), StarDetails::InitializeStarTextures(), AsciiModelLoader::loadMaterial(), BinaryModelLoader::loadMaterial(), FixedFunctionRenderContext::makeCurrent(), GLSL_RenderContext::makeCurrent(), Mesh3DS::render(), MultiResTexture::setTexture(), AsciiModelWriter::writeMaterial(), and BinaryModelWriter::writeMaterial(). 00031 {
00032 if (textureManager == NULL)
00033 textureManager = new TextureManager("textures");
00034 return textureManager;
00035 }
|
|
||||||||||||
|
Definition at line 72 of file texmanager.h. 00073 {
00074 if (ti0.resolution == ti1.resolution)
00075 {
00076 if (ti0.source == ti1.source)
00077 return ti0.path < ti1.path;
00078 else
00079 return ti0.source < ti1.source;
00080 }
00081 else
00082 {
00083 return ti0.resolution < ti1.resolution;
00084 }
00085 }
|
1.4.1