MyPy requests that this needs to have a __next__ function, but actually Python calls the __iter__ function first and then calls the __next__ function on the result of that. MyPy is wrong here.
Contributes to issue CURA-5330.
MyPy was thinking that this variable has type None, which is nonsense because no variable should always have type None.
Contributes to issue CURA-5330.
The map created by the shader is not strictly a depth map; not only is the "depth" encoded in the rgb channels, but it is also a distance to the camera instead of a "scene depth".