|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTextureBump Class ReferenceThis texture is a helper to build a DsDt texture from a height map (provided it is supported by hardware) The height map should be convertible to a RGBA bitmap.
More...
#include <texture_bump.h>
Inheritance diagram for NL3D::CTextureBump:
List of all members.
Detailed Description
This texture is a helper to build a DsDt texture from a height map (provided it is supported by hardware) The height map should be convertible to a RGBA bitmap.
-
Author:
-
Nicolas Vizerie , Nevrax France
-
Date:
-
2001
Definition at line 42 of file texture_bump.h.
Constructor & Destructor Documentation
NL3D::CTextureBump::CTextureBump |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CTextureBump::doGenerate |
( |
|
) |
[protected, virtual] |
|
void NL3D::CTextureBump::enableSharing |
( |
bool |
enabled = true |
) |
[inline] |
|
void NL3D::CTextureBump::forceNormalize |
( |
bool |
force = true |
) |
[inline] |
|
|
Force normalization of this texture when it is generated, so that the deltas reach their maximum amplitude.
After the texture generation, the factor needed to normalize can be obtained
Definition at line 74 of file texture_bump.h.
References _ForceNormalize. |
bool NL3D::CTextureBump::getAbsoluteOffsets |
( |
|
) |
const [inline] |
|
const ITexture* NL3D::CTextureBump::getHeightMap |
( |
|
) |
const [inline] |
|
ITexture* NL3D::CTextureBump::getHeightMap |
( |
|
) |
[inline] |
|
float NL3D::CTextureBump::getNormalizationFactor |
( |
|
) |
[inline] |
|
std::string NL3D::CTextureBump::getShareName |
( |
|
) |
const [virtual] |
|
bool NL3D::CTextureBump::isNormalizationForced |
( |
|
) |
const [inline] |
|
bool NL3D::CTextureBump::isSharingEnabled |
( |
|
) |
const [inline] |
|
NL3D::CTextureBump::NLMISC_DECLARE_CLASS |
( |
CTextureBump |
|
) |
|
|
void NL3D::CTextureBump::release |
( |
|
) |
[virtual] |
|
|
==============================================================================================.
Reimplemented from NL3D::ITexture.
Definition at line 147 of file texture_bump.cpp. |
void NL3D::CTextureBump::setAbsoluteOffsets |
( |
bool |
use = true |
) |
[inline] |
|
|
==============================================================================================.
Reimplemented from NL3D::ITexture.
Definition at line 131 of file texture_bump.cpp.
References nlstop. |
void NL3D::CTextureBump::setHeightMap |
( |
ITexture * |
heightMap |
) |
|
|
bool NL3D::CTextureBump::supportSharing |
( |
|
) |
const [virtual] |
|
Member Data Documentation
bool NL3D::CTextureBump::_DisableSharing [protected]
|
|
bool NL3D::CTextureBump::_ForceNormalize [protected]
|
|
float NL3D::CTextureBump::_NormalizationFactor [protected]
|
|
bool NL3D::CTextureBump::_UseAbsoluteOffsets [protected]
|
|
The documentation for this class was generated from the following files:
|
|