CullingResults.GetReflectionProbeIndexMap

Declaration

public NativeArray<int> GetReflectionProbeIndexMap(Unity.Collections.Allocator allocator);

Parameters

allocator The allocator to use.

Returns

NativeArray<int> Array of indices that map from VisibleReflectionProbe indices to internal per-object reflection probe list indices.

Description

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.


Did you find this page useful? Please give it a rating: