OpenGL: What is a vertex Attribute? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

OpenGL: What is a vertex Attribute?

I'm new to OpenGL, and I don't understand the concept of "vertex attributes".

2nd Dec 2020, 6:54 AM
Rajdeep Deka
Rajdeep Deka - avatar
1 Resposta
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.
14th Dec 2020, 2:28 PM
Success Ours
Success Ours - avatar