public void Dispose() { if (PositionsBuffer != null) { PositionsBuffer.Release(); PositionsBuffer = null; } if (DensitiesBuffer != null) { DensitiesBuffer.Release(); DensitiesBuffer = null; } if (PressuresBuffer != null) { PressuresBuffer.Release(); PressuresBuffer = null; } FusionUtilities.Release(PredictedBuffer); FusionUtilities.Release(VelocitiesBuffer); FusionUtilities.Release(ref m_argsBuffer); }
public void Dispose() { FusionUtilities.Release(ref tempBuffer1); FusionUtilities.Release(ref tempBuffer2); }