Click or drag to resize

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: 19.01.00
Syntax
C#
bool 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

Boolean
True if the Texture was deleted successfully
See Also