Update VAO comment
This commit is contained in:
parent
28f3d71ff7
commit
8e00014ad0
@ -31,7 +31,7 @@ struct App {
|
||||
SDL_GLContext context;
|
||||
SDL_Event event;
|
||||
|
||||
// Defines the different attributes in the vertex data and how to access them.
|
||||
// VAO is an object that stores the state needed to supply the GPU with the vertex data.
|
||||
// Think of it as a specification or a C struct that defines the types of data stored for the
|
||||
// vertex array including the attributes for each vertex as well the indices buffer if it exists.
|
||||
GLuint vao;
|
||||
|
Loading…
Reference in New Issue
Block a user