Declaring "params" as being a value rather than a pointer/reference means the value will be copied when assigned. It's not very important, but it would be preferable to just take a reference to the render params and not a copy