You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
636 B
26 lines
636 B
using System.Collections.Generic;
|
|
using UnityEngine.Assertions;
|
|
|
|
namespace UnityEngine.Rendering.HighDefinition
|
|
{
|
|
class HDProbeCullingResults
|
|
{
|
|
static readonly IReadOnlyList<HDProbe> s_EmptyList = new List<HDProbe>();
|
|
|
|
List<HDProbe> m_VisibleProbes = new List<HDProbe>();
|
|
|
|
public IReadOnlyList<HDProbe> visibleProbes => m_VisibleProbes;
|
|
|
|
internal void Reset()
|
|
{
|
|
m_VisibleProbes.Clear();
|
|
}
|
|
|
|
internal void AddProbe(HDProbe visibleProbes)
|
|
{
|
|
Assert.IsNotNull(m_VisibleProbes);
|
|
|
|
m_VisibleProbes.Add(visibleProbes);
|
|
}
|
|
}
|
|
}
|