Class ShaderDebugPrintManager
Internal development tool. Manages gpu-buffers for shader debug printing.
Inherited Members
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. |