MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / render

Function render

src/content/Animations/SplashCursor/SplashCursor.jsx:794–798  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

792 }
793
794 function render(target) {
795 gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA);
796 gl.enable(gl.BLEND);
797 drawDisplay(target);
798 }
799
800 function drawDisplay(target) {
801 let width = target == null ? gl.drawingBufferWidth : target.width;

Callers 1

updateFrameFunction · 0.70

Calls 1

drawDisplayFunction · 0.70

Tested by

no test coverage detected