clear(r = 0, g = 0, b = 0, a = 1)
    {
        this.bind();

        const gl = this.gl;

        gl.clearColor(r, g, b, a);
        gl.clear(gl.COLOR_BUFFER_BIT);
    }
/**
     * Erases the drawing area and fills it with a colour
     *
     * @param {number} r - the red value of the clearing colour
     * @param {number} g - the green value of the clearing colour
     * @param {number} b - the blue value of the clearing colour
     * @param {number} a - the alpha value of the clearing colour
     */
Erases the drawing area and fills it with a colour
@param {number} r - the red value of the clearing colour
@param {number} g - the green value of the clearing colour
@param {number} b - the blue value of the clearing colour
@param {number} a - the alpha value of the clearing colour
Erases the drawing area and fills it with a colour @param { number } r - the red value of the clearing colour @param { number } g - the green value of the clearing colour @param { number } b - the blue value of the clearing colour @param { number } a - the alpha value of the clearing colour
clear(r = 0, g = 0, b = 0, a = 1)
    {
        this.bind();
        const gl = this.gl;
        gl.clearColor(r, g, b, a);
        gl.clear(gl.COLOR_BUFFER_BIT);
    }
clear ( r = 0 , g = 0 , b = 0 , a = 1 ) { this . bind ( ) ; const gl = this . gl ; gl . clearColor ( r , g , b , a ) ; gl . clear ( gl . COLOR_BUFFER_BIT ) ; }
Erases the drawing area and fills it with a colour
 @param {number} r - the red value of the clearing colour
 @param {number} g - the green value of the clearing colour
 @param {number} b - the blue value of the clearing colour
 @param {number} a - the alpha value of the clearing colour
Erases the drawing area and fills it with a colour @param { number } r - the red value of the clearing colour @param { number } g - the green value of the clearing colour @param { number } b - the blue value of the clearing colour @param { number } a - the alpha value of the clearing colour