GetReflectionProbeIndexMap(Allocator)
If a RenderPipeline sorts or otherwise modifies the VisibleReflectionProbe list, an index remap will be necessary to properly make use of per-object reflection probe lists.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public NativeArray<int> GetReflectionProbeIndexMap(Allocator allocator)
Parameters
The allocator to use.
Returns
Type | Description |
|---|---|
| NativeArray<int> | Array of indices that map from VisibleReflectionProbe indices to internal per-object reflection probe list indices. |
Remarks
Additional Resources:: CullingResults.SetReflectionProbeIndexMap, CullingResults.