51 static std::unique_ptr<GlbContainerResource>
parse(
52 const std::string& path,
53 const std::shared_ptr<GraphicsDevice>& device,
Abstract GPU interface for resource creation, state management, and draw submission.
static std::unique_ptr< GlbContainerResource > parse(const std::string &path, const std::shared_ptr< GraphicsDevice > &device, const ObjParserConfig &config=ObjParserConfig{})
Configuration options for OBJ loading.
bool flipYZ
If true, swap Y and Z axes (Z-up CAD -> Y-up engine) and negate new Z.
float uniformScale
Uniform scale applied to all vertex positions (e.g., 0.001 for mm -> m).
bool generateNormals
Generate smooth normals when the OBJ file has no normals.
bool flipWinding
If true, reverse face winding order.
bool generateTangents
Generate tangents for normal mapping.
std::string mtlSearchPath
Override MTL search path (empty = same directory as .obj file).