 |
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: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void DisposeWithTexture()
See Also