|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTextureBlend Class ReferenceThis is a helper texture that helps to blend between 2 others textures.
More...
#include <texture_blend.h>
Inheritance diagram for NL3D::CTextureBlend:
List of all members.
Detailed Description
This is a helper texture that helps to blend between 2 others textures.
It may help where sharing is needed. (for example, with a texture that blend between day / night, and that is shared by several object). The default is to have sharing enabled. NB : sharing is only supported if the 2 blending textures support sharing IMPORTANT: you should setup all your blend texture after changing the blend factor to avoid previous texture to be left in VRAM -
Author:
-
Nicolas Vizerie , Nevrax France
-
Date:
-
2001
Definition at line 47 of file texture_blend.h.
Constructor & Destructor Documentation
NL3D::CTextureBlend::CTextureBlend |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CTextureBlend::doGenerate |
( |
|
) |
[virtual] |
|
void NL3D::CTextureBlend::enableSharing |
( |
bool |
enabled = false |
) |
|
|
uint16 NL3D::CTextureBlend::getBlendFactor |
( |
|
) |
const [inline] |
|
const ITexture* NL3D::CTextureBlend::getBlendtexture |
( |
uint |
index |
) |
const [inline] |
|
ITexture* NL3D::CTextureBlend::getBlendtexture |
( |
uint |
index |
) |
[inline] |
|
std::string NL3D::CTextureBlend::getShareName |
( |
|
) |
const [virtual] |
|
bool NL3D::CTextureBlend::isSharingEnabled |
( |
|
) |
const [inline] |
|
NL3D::CTextureBlend::NLMISC_DECLARE_CLASS |
( |
CTextureBlend |
|
) |
|
|
void NL3D::CTextureBlend::release |
( |
|
) |
[virtual] |
|
bool NL3D::CTextureBlend::setBlendFactor |
( |
uint16 |
factor |
) |
|
|
void NL3D::CTextureBlend::setBlendTexture |
( |
uint |
index, |
|
|
ITexture * |
tex |
|
) |
|
|
bool NL3D::CTextureBlend::supportSharing |
( |
|
) |
const [virtual] |
|
Member Data Documentation
uint16 NL3D::CTextureBlend::_BlendFactor [private]
|
|
bool NL3D::CTextureBlend::_SharingEnabled [private]
|
|
The documentation for this class was generated from the following files:
|
|