56 static std::unique_ptr<GlbContainerResource>
parse(
57 const std::string& path,
58 const std::shared_ptr<GraphicsDevice>& device,
static std::unique_ptr< GlbContainerResource > parse(const std::string &path, const std::shared_ptr< GraphicsDevice > &device, const AssimpParserConfig &config=AssimpParserConfig{})
Abstract GPU interface for resource creation, state management, and draw submission.
Configuration options for Assimp-based model loading.
float uniformScale
Uniform scale applied to all vertex positions (e.g., 0.01 for cm -> m).
bool optimizeMeshes
Merge small meshes sharing the same material to reduce draw calls.
bool flipWinding
If true, reverse face winding order.
bool flipYZ
If true, swap Y and Z axes (Z-up CAD -> Y-up engine) and negate new Z.