ITextureManagerDeleteTexture Method |
Delete a Texture from the document. This will remove the texture from all materials.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.01.00
Syntaxbool DeleteTexture(
TextureReference textureReference,
bool showWarningDialog = false
)
Parameters
- textureReference TextureReference
- The Texture to be deleted
- showWarningDialog Boolean (Optional)
- Show a warning message dialog before deleting the texture
Return Value
BooleanTrue if the Texture was deleted successfully
See Also