public void UnregisterAndRelease() { if (Registered) { UnregisterWithScene(); } if (Resource != null) { Resource.Release(); } Resource = null; Created = false; Submeshes = null; }
public override void Release() { _resource.Release(); }
public void UnregisterAndRelease() { if (Registered) { UnregisterWithScene(); } if (Resource != null) { Resource.Release(); } Resource = null; Created = false; Submeshes = null; }
public override void Release() { _resource.Release(); }