1 using System
.Collections
.Generic
;
3 namespace UnityEngine
.Rendering
.PostProcessing
7 readonly List
<int> m_Pool
;
12 m_Pool
= new List
<int>();
13 Get(); // Pre-warm with a default target to avoid black frame on first frame
18 int ret
= Get(m_Current
);
33 // Avoid discontinuities
34 while (m_Pool
.Count
<= i
)
35 m_Pool
.Add(Shader
.PropertyToID("_TargetPool" + i
));