Skip to main content

GLDrawResetCanvas

Callable

  • GLDrawResetCanvas(force2d?: boolean): void

  • Resets the GLDraw renderer

    This function removes the current canvas, removes cached textures from the image cache, and reloads a fresh canvas unless prevented.


    Parameters

    • force2d: boolean = false

    Returns void

    • Nothing