Struct CustomPassContext
Context used when executing custom passes
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public struct CustomPassContext
Fields
Name | Description |
---|---|
camera |
Camera color buffer. |
camera |
Camera culling results, not modified by the custom pass culling. |
camera |
Camera depth buffer. |
camera |
Camera motion vectors buffer. |
camera |
Camera normal buffer. |
cmd | Command Buffer, used to enqueue graphic commands to the GPU. |
culling |
Result of the culling either of the camera or the custom pass if AggregateCullingParameters is used. |
custom |
Lazy handle to the custom color buffer, not allocated if not used. |
custom |
Lazy handle to the custom depth buffer, not allocated if not used. |
hd |
HdCamera, HDRP data related to the rendering camera. Use the camera property to access the Camera class. |
property |
Material Property Block, unique for each custom pass instance. |
render |
Scriptable Render Context, used for any SRP related operations. |