 |
MultiMaterialModelNodeDisposeWithMaterials Method |
DisposeWithMaterials disposes this MultiMaterialModelNode and also disposes all the materials that are used by this MultiMaterialModelNode.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic void DisposeWithMaterials(
bool disposeTexture = true
)
Parameters
- disposeTexture Boolean (Optional)
- when true (by default) and when the material defines a texture (GpuImage), then it is also disposed (if it is not cached by the Scene).
See Also