Data texture information structure.
More...
#include <kanzi/core.ui/graphics3d/morph.hpp>
Data texture information structure.
- Since
- Kanzi 3.9.7
◆ DataTextureInfo()
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. |
◆ create()
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. |
◆ getDataSize()
size_t kanzi::Morph::DataTextureInfo::getDataSize |
( |
| ) |
const |
|
inline |
Gets the data size.
- Returns
- Data size for the morph data block.
◆ getDataTexture()
Gets the data texture.
- Returns
- Data texture containing morph data.
◆ getPositionOffset()
size_t kanzi::Morph::DataTextureInfo::getPositionOffset |
( |
| ) |
const |
|
inline |
Gets the position offset.
- Returns
- Position offset into the data texture.
◆ getNormalOffset()
size_t kanzi::Morph::DataTextureInfo::getNormalOffset |
( |
| ) |
const |
|
inline |
Gets the normal offset.
- Returns
- Normal offset into the data texture.
◆ getTangentOffset()
size_t kanzi::Morph::DataTextureInfo::getTangentOffset |
( |
| ) |
const |
|
inline |
Gets the tangent offset.
- Returns
- Tangent offset into the data texture.
◆ m_dataSize
size_t kanzi::Morph::DataTextureInfo::m_dataSize |
|
protected |
◆ m_dataTexture
Data texture containing the morph data.
◆ m_positionOffset
size_t kanzi::Morph::DataTextureInfo::m_positionOffset |
|
protected |
◆ m_normalOffset
size_t kanzi::Morph::DataTextureInfo::m_normalOffset |
|
protected |
◆ m_tangentOffset
size_t kanzi::Morph::DataTextureInfo::m_tangentOffset |
|
protected |
The documentation for this class was generated from the following file: