30 tenno::shared_ptr<Material> material;
50 std::filesystem::path path;
51 std::string directory;
53 tenno::vector<Mesh> meshes;
54 tenno::vector<tenno::shared_ptr<Texture>> textures_loaded;
58 void process_shape(
const tinyobj::attrib_t& attrib,
59 const tinyobj::shape_t& shape,
60 const tenno::vector<tinyobj::material_t>& materials,
62 tenno::vector<tenno::shared_ptr<Texture>>
63 load_tiny_material(
const tinyobj::material_t& mat,
82 Builder &material(tenno::shared_ptr<Material> material);
84 Builder &path(
const std::filesystem::path &path);
88 Builder &meshes(
const tenno::vector<Mesh::Builder> &meshes);
89 Builder &meshes(tenno::vector<Mesh::Builder> &&meshes);
92 Builder &watch(
const std::filesystem::path &path);
95 tenno::vector<std::filesystem::path> get_watch_paths()
const;
100 tenno::vector<std::filesystem::path> watch_paths = {};