Antkeeper
0.0.1
src
engine
render
vertex-attribute-location.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2023 Christopher J. Howard
3
*
4
* This file is part of Antkeeper source code.
5
*
6
* Antkeeper source code is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* Antkeeper source code is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with Antkeeper source code. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef ANTKEEPER_RENDER_VERTEX_ATTRIBUTE_LOCATION_HPP
21
#define ANTKEEPER_RENDER_VERTEX_ATTRIBUTE_LOCATION_HPP
22
23
#include <cstdint>
24
25
namespace
render
{
26
28
namespace
vertex_attribute_location
29
{
30
enum
: std::uint8_t
31
{
33
position
,
34
36
uv
,
37
39
normal
,
40
42
tangent
,
43
45
color
,
46
48
bone_index
,
49
51
bone_weight
,
52
54
barycentric
,
55
57
target
58
};
59
}
60
61
}
// namespace render
62
63
#endif
// ANTKEEPER_RENDER_VERTEX_ATTRIBUTE_LOCATION_HPP
render::vertex_attribute_location::bone_index
@ bone_index
Vertex bone indices (uvec4)
Definition:
vertex-attribute-location.hpp:48
render::vertex_attribute_location::tangent
@ tangent
Vertex tangent (vec4)
Definition:
vertex-attribute-location.hpp:42
render::vertex_attribute_location::target
@ target
Vertex morph target (vec3)
Definition:
vertex-attribute-location.hpp:57
render::vertex_attribute_location::barycentric
@ barycentric
Vertex barycentric coordinates (vec3)
Definition:
vertex-attribute-location.hpp:54
render::vertex_attribute_location::normal
@ normal
Vertex normal (vec3)
Definition:
vertex-attribute-location.hpp:39
render::vertex_attribute_location::color
@ color
Vertex color (vec4)
Definition:
vertex-attribute-location.hpp:45
render::vertex_attribute_location::bone_weight
@ bone_weight
Vertex bone weights (vec4)
Definition:
vertex-attribute-location.hpp:51
render::vertex_attribute_location::uv
@ uv
Vertex UV texture coordinates (vec2)
Definition:
vertex-attribute-location.hpp:36
render::vertex_attribute_location::position
@ position
Vertex position (vec3)
Definition:
vertex-attribute-location.hpp:33
render
High-level rendering.
Definition:
anti-aliasing-method.hpp:25