Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cinder/Cinder
/ enableAdditiveBlending
Function
enableAdditiveBlending
src/cinder/gl/wrapper.cpp:340–345 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
338
}
339
340
void enableAdditiveBlending()
341
{
342
auto ctx = gl::context();
343
ctx->enable( GL_BLEND );
344
ctx->blendFunc( GL_SRC_ALPHA, GL_ONE );
345
}
346
347
void enableFaceCulling( bool enable )
348
{
Callers
3
draw
Method · 0.85
draw
Method · 0.85
draw
Method · 0.85
Calls
3
blendFunc
Method · 0.80
context
Function · 0.70
enable
Method · 0.45
Tested by
no test coverage detected