OpenGL – Can I draw non-indexed when index-buffer is set for VAO?

I set up a VAO, binding vertex-buffers to it for vertex attributes, but also set index-buffer (With glVertexArrayElementBuffer). Does that restrict it so it only works with glDrawElements type of commands, or will it work with glDrawArrays too? (Using OpenGL4.5) >Solution : Does that restrict it so it only works with glDrawElements type of commands?… Read More OpenGL – Can I draw non-indexed when index-buffer is set for VAO?