public void TearDown() { commandQ?.Dispose(); commandQ = null; commandBuffer?.Dispose(); commandBuffer = null; encoder?.Dispose(); encoder = null; }