Enum ScriptableRenderPassInput
Input requirements for ScriptableRenderPass
.
URP adds render passes to generate the inputs, or reuses inputs that are already available from earlier in the frame.
URP binds the inputs as global shader texture properties.
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[Flags]
public enum ScriptableRenderPassInput
Fields
Name | Description |
---|---|
Color | Used when a To sample the color texture in a shader, include Note: The opaque texture might be a downscaled copy of the framebuffer from before rendering transparent objects. |
Depth | Used when a To sample the depth texture in a shader, include |
Motion | Used when a To sample the motion vectors texture in a shader, use |
None | Used when a |
Normal | Used when a To sample the normals texture in a shader, include |