LibN2L-4 Library Code Reference
Classes
Compounds
Files
Members
Method Index
Full Reference
n2l::cGLTexture Class Reference
#include <cGLTexture.h>
Collaboration diagram for n2l::cGLTexture:
[legend]List of all members.Public Member Functions
Static Public Member Functions
Detailed Description
Definition at line 42 of file cGLTexture.h.
Constructor & Destructor Documentation
| n2l::cGLTexture::cGLTexture |
( |
const GLenum & |
iFormat, |
|
|
const tVector2u & |
iSize |
|
) |
|
|
|
|
Definition at line 63 of file cGLTexture.cpp.
References n2l::cPixelFormat::bitsPerPixel(), n2l::cPixelFormat::Channel_Alpha, n2l::cPixelFormat::Channel_Blue, n2l::cPixelFormat::Channel_Green, n2l::cPixelFormat::Channel_Red, n2l::cPixelFormat::channelMask(), n2l::cSurface::create(), n2l::cSurfaceInterface::format(), n2l::cSurface::literalCopyBlit(), n2l::cSurfaceInterface::properties(), and n2l::cSurfaceProperties::size(). |
| n2l::cGLTexture::~cGLTexture |
( |
|
) |
|
|
Member Function Documentation
| void n2l::cGLTexture::bind |
( |
|
) |
const [inline] |
|
| void n2l::cGLTexture::bindTexture2D |
( |
|
) |
const |
|
| const tUint n2l::cGLTexture::bitsForFormat |
( |
const GLenum & |
iFormat |
) |
[static] |
|
| const tBool n2l::cGLTexture::hasAlpha |
( |
|
) |
const |
|
| void n2l::cGLTexture::refresh |
( |
|
) |
const |
|
|
|
Load this texture back into the cards memory from the copy we took on construction.
This is mutable so the resource manager can reload const textures when video modes change.
Definition at line 184 of file cGLTexture.cpp. |
| const tBool n2l::cGLTexture::refreshable |
( |
|
) |
const [inline] |
|
| void n2l::cGLTexture::requiresRefreshable |
( |
const tBool |
iRequired |
) |
[inline] |
|
| const tBool n2l::cGLTexture::requiresRefreshable |
( |
|
) |
[inline] |
|
| const tVector2u & n2l::cGLTexture::size |
( |
|
) |
const |
|
The documentation for this class was generated from the following files: