24 lines
675 B
C++
24 lines
675 B
C++
#ifndef IDS_H
|
|
#define IDS_H
|
|
|
|
#include <cstdint>
|
|
#include <limits>
|
|
|
|
using MeshID = std::size_t;
|
|
constexpr MeshID NULL_MESH_ID = std::numeric_limits<std::size_t>::max();
|
|
|
|
using ImageID = std::uint16_t;
|
|
constexpr ImageID NULL_IMAGE_ID = std::numeric_limits<std::uint16_t>::max();
|
|
|
|
using MaterialID = std::uint32_t;
|
|
constexpr MaterialID NULL_MATERIAL_ID = std::numeric_limits<std::uint32_t>::max();
|
|
|
|
using BindlessID = std::uint32_t;
|
|
constexpr BindlessID NULL_BINDLESS_ID = std::numeric_limits<std::uint32_t>::max();
|
|
|
|
using JointId = std::uint16_t;
|
|
static const JointId NULL_JOINT_ID = std::numeric_limits<JointId>::max();
|
|
static const JointId ROOT_JOINT_ID = 0;
|
|
|
|
#endif //IDS_H
|