Cached morph handles.
More...
#include <kanzi/core.ui/graphics3d/render_entry_3d.hpp>
Cached morph handles.
- Since
- Kanzi 3.9.7
-
Kanzi 4.0.0 removed the m_morphDataTextureLocation, m_morphIndicesLocation, m_morphWeightArraySize and m_morphWeightLocation fields.
◆ MorphHandles() [1/2]
| kanzi::RenderEntry3D::MorphHandles::MorphHandles |
( |
| ) |
|
|
explicitdefault |
◆ MorphHandles() [2/2]
| kanzi::RenderEntry3D::MorphHandles::MorphHandles |
( |
GlRenderState & | renderState | ) |
|
|
explicit |
Constructor.
- Parameters
-
| renderState | Render state from which to acquire the morph handles. |
◆ apply()
Applies morph handles into a render state.
- Parameters
-
| mesh | Mesh to read relevant information from. |
| renderState | Render state to which to apply the morph runtime. |
- Since
- Kanzi 4.0.0
- Removed the dataTextureInfo and morphRuntime parameters.
- Added the mesh parameter.
◆ 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_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: