MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / operator()

Method operator()

BindlessDeferred/MeshRenderer.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 ZSortComparer(const Array<float>& meshDepths) : MeshDepths(meshDepths) { }
45
46 bool operator()(uint32 a, uint32 b)
47 {
48 return MeshDepths[a] < MeshDepths[b];
49 }
50};
51
52// Frustum culls meshes, and produces a buffer of visible mesh indices

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected