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

Method setDepthMask

RenderSystems/GL/src/OgreGLStateCacheManager.cpp:288–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 void GLStateCacheManager::setDepthMask(GLboolean mask)
289 {
290#ifdef OGRE_ENABLE_STATE_CACHE
291 if(mDepthMask != mask)
292#endif
293 {
294 mDepthMask = mask;
295
296 glDepthMask(mask);
297 }
298 }
299
300 void GLStateCacheManager::setDepthFunc(GLenum func)
301 {

Callers 3

_setDepthBufferParamsMethod · 0.45
clearFrameBufferMethod · 0.45
_switchContextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected