14 entt::meta_factory<mesh_importer_meta>{}
15 .type(
"mesh_importer_meta"_hs)
20 .func<&mesh_importer_meta::get_meta_type>(
"get_meta_type"_hs)
22 .func<&mesh_importer_meta::as_derived>(
"as_derived"_hs);
25 entt::meta_factory<mesh_importer_meta::model_meta>{}
26 .type(
"model_meta"_hs)
32 .data<&mesh_importer_meta::model_meta::import_meshes>(
"import_meshes"_hs)
37 .data<&mesh_importer_meta::model_meta::weld_vertices>(
"weld_vertices"_hs)
42 "Identifies and joins identical vertex data sets within all imported meshes.\n"
43 "After this step is run, each mesh contains unique vertices,\n"
44 "so a vertex may be used by multiple faces. You usually want\n"
45 "to use this post processing step. If your application deals with\n"
46 "indexed geometry, this step is compulsory or you'll just waste rendering\n"
49 .data<&mesh_importer_meta::model_meta::optimize_meshes>(
"optimize_meshes"_hs)
54 "A post-processing step to reduce the number of meshes.\n"
55 "This will, in fact, reduce the number of draw calls."},
57 .data<&mesh_importer_meta::model_meta::split_large_meshes>(
"split_large_meshes"_hs)
62 .data<&mesh_importer_meta::model_meta::find_degenerates>(
"find_degenerates"_hs)
67 .data<&mesh_importer_meta::model_meta::find_invalid_data>(
"find_invalid_data"_hs)
73 "This step searches all meshes for invalid data, such as zeroed\n"
74 "normal vectors or invalid UV coords and removes/fixes them. This is\n"
75 "intended to get rid of some common exporter errors."},
79 entt::meta_factory<mesh_importer_meta::rig_meta>{}
87 entt::meta_factory<mesh_importer_meta::animations_meta>{}
88 .type(
"animations_meta"_hs)
93 .data<&mesh_importer_meta::animations_meta::import_animations>(
"import_animations"_hs)
100 entt::meta_factory<mesh_importer_meta::materials_meta>{}
101 .type(
"materials_meta"_hs)
106 .data<&mesh_importer_meta::materials_meta::import_materials>(
"import_materials"_hs)
111 .data<&mesh_importer_meta::materials_meta::remove_redundant_materials>(
"remove_redundant_materials"_hs)
118 entt::meta_factory<mesh_importer_meta>{}
119 .type(
"mesh_importer_meta"_hs)
124 .data<&mesh_importer_meta::model>(
"model"_hs)
129 .data<&mesh_importer_meta::rig>(
"rig"_hs)
134 .data<&mesh_importer_meta::animations>(
"animations"_hs)
139 .data<&mesh_importer_meta::materials>(
"materials"_hs)