Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
OpenGL: What is a vertex Attribute?
I'm new to OpenGL, and I don't understand the concept of "vertex attributes".
1 Answer
0
Vertex attribute is a property of a vertex, e.g. its position, colour, texture coordinate, etc.
Don't forget to follow me since learning is Fun when we do it together.
Vertex attributes specify where and how each property is stored in a vertex buffer, so a shader can access them properly.