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 |
---|---|
cameraColorBuffer | Camera color buffer. |
cameraCullingResults | Camera culling results, not modified by the custom pass culling. |
cameraDepthBuffer | Camera depth buffer. |
cameraMotionVectorsBuffer | Camera motion vectors buffer. |
cameraNormalBuffer | Camera normal buffer. |
cmd | Command Buffer, used to enqueue graphic commands to the GPU. |
cullingResults | Result of the culling either of the camera or the custom pass if AggregateCullingParameters is used. |
customColorBuffer | Lazy handle to the custom color buffer, not allocated if not used. |
customDepthBuffer | Lazy handle to the custom depth buffer, not allocated if not used. |
hdCamera | HdCamera, HDRP data related to the rendering camera. Use the camera property to access the Camera class. |
propertyBlock | Material Property Block, unique for each custom pass instance. |
renderContext | Scriptable Render Context, used for any SRP related operations. |