MCPcopy Create free account
hub / github.com/axmolengine/axmol / setRenderDefaults

Method setRenderDefaults

core/base/Director.cpp:265–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void Director::setRenderDefaults()
266{
267 // This method SHOULD be called only after _renderView was initialized
268 AXASSERT(_renderView, "render view should not be null");
269
270 _renderer->setDepthTest(false);
271 _renderer->setDepthCompareFunction(backend::CompareFunction::LESS_EQUAL);
272 setProjection(_projection);
273}
274
275// Draw the Scene
276void Director::drawScene()

Callers 3

DeviceLostMethod · 0.80

Calls 2

setDepthTestMethod · 0.45

Tested by

no test coverage detected