DepthBufferRenderer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Component should be applied to the main camera and will apply post-process procedure to blit the scene's rendered depth buffer as the color output
public ref class DepthBufferRenderer : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DepthBufferRenderer")]
[UnityEngine.ExecuteInEditMode]
public class DepthBufferRenderer : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DepthBufferRenderer")>]
[<UnityEngine.ExecuteInEditMode>]
type DepthBufferRenderer = class
inherit MonoBehaviour
Public Class DepthBufferRenderer
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourDepthBufferRenderer
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteInEditModeAttribute
Constructors
DepthBufferRenderer() |
Properties
OutputTexture |
If not null, depth buffer rendering output will blit to this RenderTexture. If null, normal operation will blit the depth buffer as color to the screen. |