 |
SimpleMeshTRecreateMesh Method |
RecreateMesh disposes the existing VertexBuffers and IndexBuffer and recreates the buffers.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic void RecreateMesh(
bool recreateVertexBuffer = true,
bool recreateIndexBuffer = true,
bool updateBounds = true
)
Parameters
- recreateVertexBuffer Boolean (Optional)
- when true the vertex buffer is re-created (or updated in case of dynamic vertex buffer)
- recreateIndexBuffer Boolean (Optional)
- when true the index buffer is re.created
- updateBounds Boolean (Optional)
- when true the bounds are re-calculated
See Also