| 183 | } |
| 184 | |
| 185 | static void cull_none(CullingSet &set) |
| 186 | { |
| 187 | ENTER_PROFILE_SCOPE(__func__); |
| 188 | |
| 189 | u32 num = array::size(set.id); |
| 190 | for (u32 i = 0; i < num; ++i) |
| 191 | set.visible[i] = UINT32_MAX; |
| 192 | |
| 193 | LEAVE_PROFILE_SCOPE(); |
| 194 | } |
| 195 | |
| 196 | /// Returns the number of objects that passed culling test. |
| 197 | static u32 remove_culled(CullingSet &set) |