Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cinder/Cinder
/ disableDepthWrite
Function
disableDepthWrite
src/cinder/gl/wrapper.cpp:385–389 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
383
}
384
385
void disableDepthWrite()
386
{
387
auto ctx = gl::context();
388
ctx->depthMask( GL_FALSE );
389
}
390
391
void enableStencilTest( bool enable )
392
{
Callers
11
draw
Method · 0.85
draw
Method · 0.85
draw
Method · 0.85
draw
Method · 0.85
draw
Method · 0.85
renderScene
Method · 0.85
draw
Method · 0.85
fillGBuffer
Method · 0.85
draw
Method · 0.85
render
Method · 0.85
draw
Method · 0.85
Calls
2
depthMask
Method · 0.80
context
Function · 0.70
Tested by
1
draw
Method · 0.68