MCPcopy Create free account
hub / github.com/melonjs/melonJS / save

Method save

packages/melonjs/src/video/renderer.js:899–899  ·  view source on GitHub ↗

* Push the current transform / alpha / clip state onto an internal * stack. Pair with Renderer#restore. Implemented by subclasses.

()

Source from the content-addressed store, hash-verified

897 * stack. Pair with {@link Renderer#restore}. Implemented by subclasses.
898 */
899 save() {}
900
901 /**
902 * Pop the topmost saved state from the stack, restoring transform,

Callers 15

strokeMethod · 0.95
drawMethod · 0.45
drawTriangleMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawLightingMethod · 0.45
preDrawMethod · 0.45
preDrawMethod · 0.45
drawMethod · 0.45
toCanvasMethod · 0.45
drawMethod · 0.45
measureTextMethod · 0.45

Calls

no outgoing calls

Tested by 1

paintWithMasksFunction · 0.36