Version: 2022.3
言語: 日本語
public NativeArray<int> GetLightIndexMap (Unity.Collections.Allocator allocator);

パラメーター

allocator The allocator to use.

戻り値

NativeArray<int> Array of indices that map from VisibleLight indices to internal per-object light list indices.

説明

If a RenderPipeline sorts or otherwise modifies the VisibleLight list, an index remap will be necessary to properly make use of per-object light lists.