Struct CustomPassContext
Context used when executing custom passes
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
public struct CustomPassContext
필드
이름 | 설명 |
---|---|
cameraColorBuffer | Camera color buffer. |
cameraDepthBuffer | Camera depth 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. |