Cull(ref ScriptableCullingParameters)
Performs culling based on the ScriptableCullingParameters typically obtained from the Camera currently being rendered.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Cull(ScriptableCullingParameters)
public CullingResults Cull(ref ScriptableCullingParameters parameters)
Parameters
Parameters for culling.
Returns
Type | Description |
|---|---|
| CullingResults | Culling results. |
Remarks
Culling results are bound to a ScriptableRenderContext they will be used with; memory used by culling results is released once the render loop is finished..
Additional Resources: Camera.TryGetCullingParameters.