]> git.tdb.fi Git - libs/gl.git/commit
Rename VertexComponent to VertexAttribute
authorMikko Rasa <tdb@tdb.fi>
Sun, 21 Mar 2021 09:40:30 +0000 (11:40 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 21 Mar 2021 15:46:38 +0000 (17:46 +0200)
commitea7832c7c1ffab00cc1168bc8c41375fdd0eae86
tree8617c2c6142811f51ffc1111ab0138fcc00520ff
parent7f03ee52e8af5f857e44702b6d1c2822a51c62ef
Rename VertexComponent to VertexAttribute

Also rename the related functions.  Get_component_type and
get_component_size in particular were problematic since pixelformat.h
uses the same names, and the ones in vertexformat.h don't take an enum
type.
12 files changed:
source/builders/primitivebuilder.cpp
source/builders/vertexarraybuilder.cpp
source/builders/vertexbuilder.h
source/core/mesh.cpp
source/core/mesh.h
source/core/program.cpp
source/core/program.h
source/core/vertexarray.cpp
source/core/vertexformat.cpp
source/core/vertexformat.h
source/core/vertexsetup.cpp
source/render/instancearray.cpp