worked on obj and mtl prefetching nad parsing
This commit is contained in:
@@ -86,3 +86,14 @@ inline components::material::surface_properties& dynamic_material_buffer::initia
|
||||
}
|
||||
return *surface_properties_opt;
|
||||
}
|
||||
|
||||
inline void dynamic_material_buffer::clear()
|
||||
{
|
||||
std::apply(
|
||||
[](auto&... data_opt) {
|
||||
(data_opt.reset(), ...);
|
||||
},
|
||||
data
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user