// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Microsoft.MixedReality.Toolkit.Rendering { /// /// Optional interface to use with objects which need to take ownership of (s). /// public interface IMaterialInstanceOwner { /// /// Method which is invoked by a when an external material change is detected. /// This normally occurs when materials are changed via Renderer.material, /// Renderer.materials, or via the editor. /// /// The material instance which contains the updated materials. void OnMaterialChanged(MaterialInstance materialInstance); } }