示例#1
0
 private void OnDestroy()
 {
     _velocity.Dispose();
     _densityTemp.Dispose();
     _pressure.Dispose();
     _walls.Dispose();
     _divergence.Dispose();
 }
示例#2
0
 private void OnDestroy()
 {
     _guiTex.Release();
     _divergenceTex.Release();
     _obstaclesTex.Release();
     _velocityTex.Dispose();
     _densityTex.Dispose();
     _pressureTex.Dispose();
     _temperatureTex.Dispose();
 }