MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / end

Method end

Engine/source/gfx/gl/gfxGLOcclusionQuery.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void GFXGLOcclusionQuery::end()
57{
58 if (GFXDevice::getDisableOcclusionQuery())
59 return;
60
61 if (!glIsQuery(mQuery))
62 return;
63 glEndQuery(GL_SAMPLES_PASSED);
64 mTesting = false;
65}
66
67GFXOcclusionQuery::OcclusionQueryStatus GFXGLOcclusionQuery::getStatus(bool block, U32* data)
68{

Callers 11

getStatusMethod · 0.95
GFXGLStateBlockMethod · 0.45
~GFXGLShaderMethod · 0.45
_initMethod · 0.45
initHandlesMethod · 0.45
getShaderConstHandleMethod · 0.45
findShaderConstHandleMethod · 0.45
allocVertexDeclMethod · 0.45
enumerateAdaptersMethod · 0.45
enumerateVideoModesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected