Antkeeper  0.0.1
Variables
model.cpp File Reference
#include <engine/render/model.hpp>
#include <engine/resources/resource-loader.hpp>
#include <engine/resources/resource-manager.hpp>
#include <engine/render/vertex-attribute-location.hpp>
#include <engine/math/numbers.hpp>
#include <engine/utility/hash/fnv1a.hpp>
#include <bit>
#include <cstdint>

Go to the source code of this file.

Variables

constexpr std::uint16_t vertex_attribute_position = 0b0000000000000001
 
constexpr std::uint16_t vertex_attribute_uv = 0b0000000000000010
 
constexpr std::uint16_t vertex_attribute_normal = 0b0000000000000100
 
constexpr std::uint16_t vertex_attribute_tangent = 0b0000000000001000
 
constexpr std::uint16_t vertex_attribute_color = 0b0000000000010000
 
constexpr std::uint16_t vertex_attribute_bone_index = 0b0000000000100000
 
constexpr std::uint16_t vertex_attribute_bone_weight = 0b0000000001000000
 
constexpr std::uint16_t vertex_attribute_morph_target = 0b0000000010000000
 

Variable Documentation

◆ vertex_attribute_bone_index

constexpr std::uint16_t vertex_attribute_bone_index = 0b0000000000100000
inlineconstexpr

Definition at line 34 of file model.cpp.

◆ vertex_attribute_bone_weight

constexpr std::uint16_t vertex_attribute_bone_weight = 0b0000000001000000
inlineconstexpr

Definition at line 35 of file model.cpp.

◆ vertex_attribute_color

constexpr std::uint16_t vertex_attribute_color = 0b0000000000010000
inlineconstexpr

Definition at line 33 of file model.cpp.

◆ vertex_attribute_morph_target

constexpr std::uint16_t vertex_attribute_morph_target = 0b0000000010000000
inlineconstexpr

Definition at line 36 of file model.cpp.

◆ vertex_attribute_normal

constexpr std::uint16_t vertex_attribute_normal = 0b0000000000000100
inlineconstexpr

Definition at line 31 of file model.cpp.

◆ vertex_attribute_position

constexpr std::uint16_t vertex_attribute_position = 0b0000000000000001
inlineconstexpr

Definition at line 29 of file model.cpp.

◆ vertex_attribute_tangent

constexpr std::uint16_t vertex_attribute_tangent = 0b0000000000001000
inlineconstexpr

Definition at line 32 of file model.cpp.

◆ vertex_attribute_uv

constexpr std::uint16_t vertex_attribute_uv = 0b0000000000000010
inlineconstexpr

Definition at line 30 of file model.cpp.