MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / setBlending

Function setBlending

Three.js/js/ThreeDebug.js:10098–10122  ·  view source on GitHub ↗
( value )

Source from the content-addressed store, hash-verified

10096 }
10097
10098 function setBlending( value ) {
10099
10100 if ( _contextGlobalCompositeOperation != value ) {
10101
10102 switch ( value ) {
10103
10104 case THREE.NormalBlending:
10105
10106 _context.globalCompositeOperation = 'source-over';
10107
10108 break;
10109
10110 case THREE.AdditiveBlending:
10111
10112 _context.globalCompositeOperation = 'lighter';
10113
10114 break;
10115
10116 }
10117
10118 _contextGlobalCompositeOperation = value;
10119
10120 }
10121
10122 }
10123
10124 function setLineWidth( value ) {
10125

Callers 5

ThreeDebug.jsFile · 0.70
renderParticleFunction · 0.70
renderLineFunction · 0.70
renderFace3Function · 0.70
renderFace4Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected