#include <spOpenGLTextureBase.hpp>
List of all members.
Constructor & Destructor Documentation
virtual sp::video::GLTextureBase::~GLTextureBase |
( |
|
) |
[virtual] |
sp::video::GLTextureBase::GLTextureBase |
( |
|
) |
[protected] |
Member Function Documentation
void sp::video::GLTextureBase::bind |
( |
s32 |
Level = 0 |
) |
const [virtual] |
void sp::video::GLTextureBase::createHWTexture |
( |
|
) |
[protected] |
void sp::video::GLTextureBase::deleteHWTexture |
( |
|
) |
[protected] |
void sp::video::GLTextureBase::generateMipMap |
( |
|
) |
[virtual] |
GLuint sp::video::GLTextureBase::getTexID |
( |
|
) |
const [inline, protected] |
GLuint* sp::video::GLTextureBase::getTexPtrID |
( |
|
) |
const [inline, protected] |
void sp::video::GLTextureBase::setFilter |
( |
const ETextureFilters |
Filter |
) |
[virtual] |
Texture's filter mode. By default FILTER_SMOOTH. The renderers normally calls this type "linear". But in this engine a "linear" texture has none-smoothed texels. This is the second value: FILTER_LINEAR. Mag (magnification) is the filter when the texels are bigger then one pixel on the screen. Min (minification) is the filter when the texels are smaller then one pixel on the screen (normally using MipMaps).
Reimplemented from sp::video::Texture.
void sp::video::GLTextureBase::setMagFilter |
( |
const ETextureFilters |
Filter |
) |
[virtual] |
void sp::video::GLTextureBase::setMinFilter |
( |
const ETextureFilters |
Filter |
) |
[virtual] |
Texture's mipmap filter. By default FILTER_TRILINEAR. Three filter types are supported: FILTER_BILINEAR, FILTER_TRILINEAR and FILTER_ANISOTROPIC. If the filter is FILTER_ANISOTROPIC the anisotropy factor can be set by "setAnisotropicSamples". The texture quality grows with these parameters. i.e. FILTER_BILINEAR looks worst and FILTER_ANISOTROPIC looks best. This is the method on how MIP-mapping is computed. If the texture has no MIP-maps the filter is unnecessary.
Reimplemented from sp::video::Texture.
void sp::video::GLTextureBase::setWrapMode |
( |
const ETextureWrapModes |
Wrap |
) |
[virtual] |
Texture coordinate wrap mode. This type says the renderer how to handle the texture coordinate greater then 1.0 or smaller then 0.0. Three types are supported: TEXWRAP_REPEAT (default value), TEXWRAP_MIRROR, TEXWRAP_CLAMP (normall used for SkyBoxes).
Reimplemented from sp::video::Texture.
void sp::video::GLTextureBase::unbind |
( |
s32 |
Level = 0 |
) |
const [virtual] |
virtual void sp::video::GLTextureBase::updateHardwareFormats |
( |
|
) |
[protected, pure virtual] |
virtual void sp::video::GLTextureBase::updateHardwareTexture |
( |
dim::vector3di |
Size, |
|
|
const u32 |
PixelSize, |
|
|
const void * |
ImageBuffer, |
|
|
s32 |
Level = 0 | |
|
) |
| | [protected, pure virtual] |
virtual void sp::video::GLTextureBase::updateTextureAttributes |
( |
|
) |
[protected, virtual] |
void sp::video::GLTextureBase::updateTextureAttributesImmediate |
( |
|
) |
[protected] |
Updates the texture attributes immediately, i.e. the OpenGL texture will be bound and unbound automatically.
virtual void sp::video::GLTextureBase::updateTextureImage |
( |
|
) |
[protected, virtual] |
bool sp::video::GLTextureBase::valid |
( |
|
) |
const [virtual] |
Returns true if the texture is correctly created by the used renderer.
Reimplemented from sp::video::Texture.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file:
- D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/RenderSystem/OpenGL/spOpenGLTextureBase.hpp