c++ - How to properly use VAOs? -
c++ - How to properly use VAOs? -
i'm getting started opengl, , i'm trying utilize 3.x , above features. 1 thing not understand vaos.
i understand vao encapsulates rendering state, can phone call setup functions prior render loop , bind vao state changes made in setup. not clear on how should lay out data. should have each model in scene it's own vao, or should utilize few vaos , bind vbos of multiple models (which have read more efficient)?
vao encapsulates bound buffed , vertex attributes in it. if need bind different buffer , set different attributes draw call, should assign different vao that.
c++ opengl graphics
Comments
Post a Comment