MCPcopy Create free account
hub / github.com/crownengine/crown / cull_none

Function cull_none

src/world/render_world.cpp:185–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers 1

renderMethod · 0.85

Calls 1

sizeFunction · 0.50

Tested by

no test coverage detected