public void Dispose() { if (Positions != null) { Positions.Release(); Positions = null; } CBUtility.Release(ref m_argsBuffer); }
public void Dispose() { if (Positions != null) { Positions.Release(); Positions = null; } if (Densities != null) { Densities.Release(); Densities = null; } if (Pressures != null) { Pressures.Release(); Pressures = null; } CBUtility.Release(Predicted); CBUtility.Release(Velocities); CBUtility.Release(ref m_argsBuffer); }
public void Dispose() { CBUtility.Release(ref m_buffer1); CBUtility.Release(ref m_buffer2); }