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