20 lines
529 B
C++
20 lines
529 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();
|
|
|
|
#endif //IDS_H
|