private void OnDestroy() { _velocity.Dispose(); _densityTemp.Dispose(); _pressure.Dispose(); _walls.Dispose(); _divergence.Dispose(); }
private void OnDestroy() { _guiTex.Release(); _divergenceTex.Release(); _obstaclesTex.Release(); _velocityTex.Dispose(); _densityTex.Dispose(); _pressureTex.Dispose(); _temperatureTex.Dispose(); }