MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / haveHardwareOcclusionQueries

Function haveHardwareOcclusionQueries

OpenCSG/src/opencsgRender.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 namespace {
33
34 bool haveHardwareOcclusionQueries() {
35 return OPENCSG_HAS_EXT(ARB_occlusion_query)
36 || OPENCSG_HAS_EXT(NV_occlusion_query);
37 }
38
39 Algorithm chooseAlgorithm(const std::vector<Primitive*>& primitives) {
40 if (Algo::getConvexity(primitives) >= 2) {

Callers 2

renderDispatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected