MCPcopy 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
340void enableAdditiveBlending()
341{
342 auto ctx = gl::context();
343 ctx->enable( GL_BLEND );
344 ctx->blendFunc( GL_SRC_ALPHA, GL_ONE );
345}
346
347void enableFaceCulling( bool enable )
348{

Callers 3

drawMethod · 0.85
drawMethod · 0.85
drawMethod · 0.85

Calls 3

blendFuncMethod · 0.80
contextFunction · 0.70
enableMethod · 0.45

Tested by

no test coverage detected