 |
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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic void DisposeWithTexture()
See Also