|
|
|
|
|
|
{ |
|
|
|
m_Parameters = parameters; |
|
|
|
|
|
|
|
m_PlanarReflectionProbes = new HashSet<PlanarReflectionProbe>(); |
|
|
|
m_PlanarReflectionProbe_DirtyBounds = new HashSet<PlanarReflectionProbe>(); |
|
|
|
// Runtime collections
|
|
|
|
m_PlanarReflectionProbe_RealtimeUpdate_WorkArray = new PlanarReflectionProbe[parameters.maxPlanarReflectionProbes]; |
|
|
|
|
|
|
|
// Persistent collections
|
|
|
|
m_PlanarReflectionProbes = new HashSet<PlanarReflectionProbe>(); |
|
|
|
m_PlanarReflectionProbe_DirtyBounds = new HashSet<PlanarReflectionProbe>(); |
|
|
|
m_PlanarReflectionProbe_RealtimeUpdate_WorkArray = new PlanarReflectionProbe[parameters.maxPlanarReflectionProbes]; |
|
|
|
m_PlanarReflectionProbe_RequestRealtimeRender.UnionWith(previous.m_PlanarReflectionProbe_RequestRealtimeRender); |
|
|
|
m_PlanarReflectionProbe_RealtimeUpdate.UnionWith(previous.m_PlanarReflectionProbe_RealtimeUpdate); |
|
|
|
m_PlanarReflectionProbe_PerCamera_RealtimeUpdate.UnionWith(previous.m_PlanarReflectionProbe_PerCamera_RealtimeUpdate); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|