#include <texture.h>
Inheritance diagram for Texture:

Public Types | |
| enum | AddressMode { Wrap = 0, BorderClamp = 1, EdgeClamp = 2 } |
| enum | MipMapMode { DefaultMipMaps = 0, NoMipMaps = 1, AutoMipMaps = 2 } |
Public Member Functions | |
| virtual void | beginUsage () |
| virtual void | bind ()=0 |
| virtual void | endUsage () |
| int | getDepth () const |
| int | getHeight () const |
| virtual int | getLODCount () const |
| virtual const TextureTile | getTile (int lod, int u, int v)=0 |
| virtual int | getUTileCount (int lod) const |
| virtual int | getVTileCount (int lod) const |
| int | getWidth () const |
| virtual int | getWTileCount (int lod) const |
| bool | hasAlpha () const |
| virtual void | setBorderColor (Color) |
| Texture (int w, int h, int d=1) | |
| virtual | ~Texture () |
Protected Attributes | |
| bool | alpha |
Private Attributes | |
| int | depth |
| int | height |
| int | width |
|
|
Definition at line 75 of file texture.h. 00076 {
00077 Wrap = 0,
00078 BorderClamp = 1,
00079 EdgeClamp = 2,
00080 };
|
|
|
Definition at line 82 of file texture.h. 00083 {
00084 DefaultMipMaps = 0,
00085 NoMipMaps = 1,
00086 AutoMipMaps = 2,
00087 };
|
|
||||||||||||||||
|
Definition at line 342 of file texture.cpp.
|
|
|
Definition at line 348 of file texture.cpp. 00349 {
00350 }
|
|
|
Reimplemented in VirtualTexture. Definition at line 64 of file texture.h. 00064 {};
|
|
|
|
Reimplemented in VirtualTexture. Definition at line 65 of file texture.h. 00065 {};
|
|
|
Definition at line 394 of file texture.cpp. References depth. 00395 {
00396 return depth;
00397 }
|
|
|
Definition at line 388 of file texture.cpp. References height. Referenced by CubeMap::CubeMap(), ImageTexture::ImageTexture(), and CelestiaCore::renderOverlay(). 00389 {
00390 return height;
00391 }
|
|
|
Reimplemented in VirtualTexture. Definition at line 353 of file texture.cpp. 00354 {
00355 return 1;
00356 }
|
|
||||||||||||||||
|
Implemented in ImageTexture, TiledTexture, CubeMap, and VirtualTexture. Referenced by LODSphereMesh::renderSection(). |
|
|
Reimplemented in TiledTexture, and VirtualTexture. Definition at line 359 of file texture.cpp. Referenced by LODSphereMesh::renderSection(). 00360 {
00361 return 1;
00362 }
|
|
|
Reimplemented in TiledTexture, and VirtualTexture. Definition at line 365 of file texture.cpp. Referenced by LODSphereMesh::renderSection(). 00366 {
00367 return 1;
00368 }
|
|
|
Definition at line 382 of file texture.cpp. References width. Referenced by CubeMap::CubeMap(), ImageTexture::ImageTexture(), and CelestiaCore::renderOverlay(). 00383 {
00384 return width;
00385 }
|
|
|
Definition at line 371 of file texture.cpp. 00372 {
00373 return 1;
00374 }
|
|
|
Definition at line 73 of file texture.h. References alpha. Referenced by GLSL_RenderContext::makeCurrent(), and FixedFunctionRenderContext::makeCurrent(). 00073 { return alpha; }
|
|
|
Reimplemented in ImageTexture, TiledTexture, and CubeMap. Definition at line 377 of file texture.cpp. Referenced by Renderer::init(). 00378 {
00379 }
|
|
|
Definition at line 90 of file texture.h. Referenced by hasAlpha(). |
|
|
Definition at line 95 of file texture.h. Referenced by getDepth(). |
|
|
Definition at line 94 of file texture.h. Referenced by getHeight(). |
|
|
Definition at line 93 of file texture.h. Referenced by getWidth(). |
1.4.1