Namespace Microsoft.MixedReality.Toolkit.Rendering
Classes
DepthBufferRenderer
MaterialInstance
The MaterialInstance behavior aides in tracking instance material lifetime and automatically destroys instanced materials for the user. This utility component can be used as a replacement to Renderer.material or Renderer.materials. When invoking Unity's Renderer.material(s), Unity automatically instantiates new materials. It is the caller's responsibility to destroy the materials when a material is no longer needed or the game object is destroyed. The MaterialInstance behavior helps avoid material leaks and keeps material allocation paths consistent during edit and run time.
Interfaces
IMaterialInstanceOwner
Optional interface to use with objects which need to take ownership of MaterialInstance(s).