How to choose between GL_STREAM_DRAW or GL_DYNAMIC_DRAW?

Well, according to the OpenGL API you should use DYNAMIC_DRAW.

STREAM
You should use STREAM_DRAW when the data store contents will be modified once and used at most a few times.

STATIC
Use STATIC_DRAW when the data store contents will be modified once and used many times.

DYNAMIC
Use DYNAMIC_DRAW when the data store contents will be modified repeatedly and used many times.

Make sure to update the VBO with glBufferSubData()

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)