opengl - How to have multiple storage layouts in one Vertex Array Object? -


when storage layout, mean define glvertexattribpointer. state saved in bound vao or buffer bound gl_array_buffer?

you can't have multiple "storage layouts" in 1 vao. same reason can't have multiple textures in 1 texture object. or multiple buffers in 1 buffer object. , on.

vaos are "storage layout". if need more 1 layout, need more 1 vao.

or can modify existing vao's state; they're not immutable. kinda defeats purpose of vao.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -