MCPcopy Create free account
hub / github.com/OGRECave/ogre / setDepthFunc

Method setDepthFunc

RenderSystems/GL/src/OgreGLStateCacheManager.cpp:300–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 void GLStateCacheManager::setDepthFunc(GLenum func)
301 {
302#ifdef OGRE_ENABLE_STATE_CACHE
303 if(mDepthFunc != func)
304#endif
305 {
306 mDepthFunc = func;
307
308 glDepthFunc(func);
309 }
310 }
311
312 void GLStateCacheManager::setClearDepth(GLclampf depth)
313 {

Callers 1

_setDepthBufferParamsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected