Data texture information structure.
More...
#include <kanzi/core.ui/graphics3d/morph.hpp>
Data texture information structure.
- Since
- Kanzi 3.9.7
kanzi::Morph::DataTextureInfo::DataTextureInfo |
( |
size_t |
dataSize, |
|
|
TextureSharedPtr |
dataTexture, |
|
|
size_t |
positionOffset, |
|
|
size_t |
normalOffset, |
|
|
size_t |
tangentOffset |
|
) |
| |
|
inlineexplicitprotected |
Constructor.
- Parameters
-
dataSize | Size of one morph data block. |
dataTexture | Data texture container. |
positionOffset | Position data offset. |
normalOffset | Normal data offset. |
tangentOffset | Tangent data offset. |
static unique_ptr<DataTextureInfo> kanzi::Morph::DataTextureInfo::create |
( |
size_t |
dataSize, |
|
|
TextureSharedPtr |
dataTexture, |
|
|
size_t |
positionOffset, |
|
|
size_t |
normalOffset, |
|
|
size_t |
tangentOffset |
|
) |
| |
|
inlinestatic |
Creates a new data texture info structure.
- Parameters
-
dataSize | Size of one morph data block. |
dataTexture | Data texture container. |
positionOffset | Position data offset. |
normalOffset | Normal data offset. |
tangentOffset | Tangent data offset. |
size_t kanzi::Morph::DataTextureInfo::getDataSize |
( |
| ) |
const |
|
inline |
Gets the data size.
- Returns
- Data size for the morph data block.
Gets the data texture.
- Returns
- Data texture containing morph data.
size_t kanzi::Morph::DataTextureInfo::getPositionOffset |
( |
| ) |
const |
|
inline |
Gets the position offset.
- Returns
- Position offset into the data texture.
size_t kanzi::Morph::DataTextureInfo::getNormalOffset |
( |
| ) |
const |
|
inline |
Gets the normal offset.
- Returns
- Normal offset into the data texture.
size_t kanzi::Morph::DataTextureInfo::getTangentOffset |
( |
| ) |
const |
|
inline |
Gets the tangent offset.
- Returns
- Tangent offset into the data texture.
size_t kanzi::Morph::DataTextureInfo::m_dataSize |
|
protected |
Data texture containing the morph data.
size_t kanzi::Morph::DataTextureInfo::m_positionOffset |
|
protected |
size_t kanzi::Morph::DataTextureInfo::m_normalOffset |
|
protected |
size_t kanzi::Morph::DataTextureInfo::m_tangentOffset |
|
protected |
The documentation for this class was generated from the following file: