Function three_d::renderer::cmp_render_order [−][src]
Expand description
Compare function for sorting objects based on distance from the camera. The order is opaque objects from nearest to farthest away from the camera, then transparent objects from farthest away to closest to the camera.