The other answers to this question on Chegg are an example f

The other answers to this question on Chegg are an example from the book which is not true.

Solution

It\'s up to you. WebGL doesn\'t care as long as you specify things correctly. In your case if you put them the same buffer you need to specify offsets to each piece data.

The most common way would be to put the data for each draw call in its own buffers.

also the first argument to drawArrays is the primitive type (POINT, LINE, TRIANGLES, etc) not ONE or NONE has you\'ve put in your question

The other answers to this question on Chegg are an example from the book which is not true.SolutionIt\'s up to you. WebGL doesn\'t care as long as you specify t

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site