public void begin() {
        if(drawing) {
            throw new IllegalStateException("You are already drawing!");
        }
        
        drawing = true;
        
        program.use();
        
        idx = 0;
        renderCalls = 0;
        texture = null;
    }