Cached morph handles.
More...
#include <kanzi/core.ui/graphics3d/render_entry_3d.hpp>
Cached morph handles.
- Since
- Kanzi 3.9.7
◆ MorphHandles()
kanzi::RenderEntry3D::MorphHandles::MorphHandles |
( |
GlRenderState & | renderState | ) |
|
|
explicitprotected |
Constructor.
- Parameters
-
renderState | Render state from which to acquire the morph handles. |
◆ create()
Creates a structure of morph handles.
- Parameters
-
renderState | Render state from which to acquire the morph handles. |
- Returns
- Morph handles.
◆ applyMorphRuntime()
Applies a given morph runtime.
- Parameters
-
dataTextureInfo | Info regarding data texture, may be nullptr. |
morphRuntime | Morph runtime to apply. |
renderState | Render state to which to apply the morph runtime. |
◆ isValid()
bool kanzi::RenderEntry3D::MorphHandles::isValid |
( |
| ) |
const |
|
inline |
Returns whether the morph weights construct is valid.
- Returns
- If the construct is valid and Kanzi can use it to render morphs, true, otherwise false.
◆ m_morphWeightLocation
Location of morph weights for the current shader.
◆ m_morphWeightArraySize
size_t kanzi::RenderEntry3D::MorphHandles::m_morphWeightArraySize |
|
protected |
Size of the morph weight array for the current shader.
◆ m_morphIndicesLocation
Location of morph indices for the current shader.
◆ m_morphDataTextureLocation
Location of morph data texture for the current shader.
◆ m_morphDataPositionOffsetLocation
Location of morph data position offset for the current shader.
◆ m_morphDataNormalOffsetLocation
Location of morph data normal offset for the current shader.
◆ m_morphDataTangentOffsetLocation
Location of morph data tangent offset for the current shader.
◆ m_morphDataSizeLocation
Location of morph data size for the current shader.
The documentation for this class was generated from the following file: