As a render engine, this code generally shouldn't modify Blender data. const helps to use the type system to enforce that.