public override void Dispose() { base.Dispose(); if (mesh != null) { mesh.Release(); mesh = null; } if (processor != null) { processor.Release(); } }
public override void Dispose() { base.Dispose(); HdriManager.OnHdriLoaded -= HdriManager_OnHdriLoaded; if (mesh != null) { mesh.Release(); mesh = null; } if (processor != null) { processor.Release(); } }
public override void Dispose() { OnHdriChanged -= MeshNode_OnHdriChanged; base.Dispose(); if (mesh != null) { mesh.Release(); mesh = null; } if (processor != null) { processor.Release(); } }