docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShaderDebugPrintManager

    Internal development tool. Manages gpu-buffers for shader debug printing.

    Inheritance
    object
    ShaderDebugPrintManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public sealed class ShaderDebugPrintManager

    Properties

    Name Description
    instance

    Get the current instance.

    outputAction

    Action taken for each print line. By default prints to the debug log.

    outputLine

    Get current print line.

    Methods

    Name Description
    DefaultOutput(string)

    The default output action. Print to the debug log.

    EndFrame()

    Initiate async read-back of the GPU buffer to the CPU. Prepare a new GPU buffer for the next frame.

    SetShaderDebugPrintBindings(CommandBuffer)

    Binds the gpu-buffers for current frame.

    SetShaderDebugPrintInputConstants(CommandBuffer, ShaderDebugPrintInput)

    Set shader input constants.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)