Struct ShaderDebugPrintInput
Shader constant input parameters.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct ShaderDebugPrintInput
Properties
| Name | Description |
|---|---|
| leftDown | Left mouse button is pressed. |
| middleDown | Middle mouse button is pressed. |
| pos | Mouse position. GameView bottom-left == (0,0) top-right == (surface.width, surface.height) where surface == game display surface/rendertarget For screen pixel coordinates, game-view should be set to "Free Aspect". Works only in PlayMode. |
| rightDown | Right mouse button is pressed. |
Methods
| Name | Description |
|---|---|
| String() | Pretty print parameters for debug purposes. |