clear()
    {
        // TODO - should this function unbind after clear?
        // for now, no but lets see what happens in the real world!
        if (this.nativeVao)
        {
            this.nativeVaoExtension.bindVertexArrayOES(this.nativeVao);
        }

        this.attributes.length = 0;
        this.indexBuffer = null;

        return this;
    }
/**
     * Unbinds this vao and disables it
     *
     * @return {GLVertexArrayObject} Returns self.
     */
Unbinds this vao and disables it
@return {GLVertexArrayObject} Returns self.
Unbinds this vao and disables it @return { GLVertexArrayObject } Returns self .
clear()
    {
        if (this.nativeVao)
        {
            this.nativeVaoExtension.bindVertexArrayOES(this.nativeVao);
        }
        this.attributes.length = 0;
        this.indexBuffer = null;
        return this;
    }
clear ( ) { if ( this . nativeVao ) { this . nativeVaoExtension . bindVertexArrayOES ( this . nativeVao ) ; } this . attributes . length = 0 ; this . indexBuffer = null ; return this ; }
Unbinds this vao and disables it
 @return {GLVertexArrayObject} Returns self.
Unbinds this vao and disables it @return { GLVertexArrayObject } Returns self .
// TODO - should this function unbind after clear? // for now, no but lets see what happens in the real world!