It’s not that complicated.
You will see pass-by-value when the engine is dealing with multi threaded data, like animations. When it’s a self-contained function usually it’s a simple const ref.
It’s not that complicated.
You will see pass-by-value when the engine is dealing with multi threaded data, like animations. When it’s a self-contained function usually it’s a simple const ref.