In the middle of multithreading parsers.
This commit is contained in:
30
include/assets/path_id_lookups.hpp
Normal file
30
include/assets/path_id_lookups.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "identifiers.hpp"
|
||||
#include "util/file_id_lookup.hpp"
|
||||
|
||||
namespace assets
|
||||
{
|
||||
|
||||
using material_id_lookup = file_id_lookup<material_id>;
|
||||
using material_library_id_lookup = file_id_lookup<material_library_id>;
|
||||
using mesh_id_lookup = file_id_lookup<mesh_id>;
|
||||
using point_cloud_id_lookup = file_id_lookup<point_cloud_id>;
|
||||
using pose_id_lookup = file_id_lookup<pose_id>;
|
||||
using pose_list_id_lookup = file_id_lookup<pose_id>;
|
||||
using shader_source_id_lookup = file_id_lookup<shader_source_id>;
|
||||
using texture_id_lookup = file_id_lookup<texture_id>;
|
||||
|
||||
struct path_id_lookups
|
||||
{
|
||||
material_id_lookup materials;
|
||||
material_library_id_lookup material_libraries;
|
||||
mesh_id_lookup meshes;
|
||||
point_cloud_id_lookup point_clouds;
|
||||
pose_id_lookup poses;
|
||||
pose_list_id_lookup pose_lists;
|
||||
shader_source_id_lookup shader_sources;
|
||||
texture_id_lookup textures;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user