 |
StandardMaterialBaseDisposeWithTexture Method |
DisposeWithTexture disposes this Material and also disposes the
GpuImage that is assigned to the
DiffuseTexture (if it is not cached by the Scene)
even if the textures were created by the user and then set to the DiffuseTexture property
(in this case the standard Dispose method does not dispose the DiffuseTexture).
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic void DisposeWithTexture()
See Also