Cull(ref ScriptableCullingParameters)
Performs culling based on the ScriptableCullingParameters typically obtained from the Camera currently being rendered.
阅读时间1 分钟最后更新于 1 个月前
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.