Toast Engine
Loading...
Searching...
No Matches
gltf_importer.hpp File Reference
#include <filesystem>
Include dependency graph for gltf_importer.hpp:

Go to the source code of this file.

Functions

auto assets::generateIntermediates (const std::filesystem::path &path)

Detailed Description

Author
Xein
Date
12 Jun 2026

Function Documentation

◆ generateIntermediates()

auto assets::generateIntermediates ( const std::filesystem::path & path)

Reads a VEC3 accessor into a flat array, honouring sparse storage

Morph targets are why: one moving 300 of 12000 vertices has no buffer view at all, and reading it as dense crashed the importer on most models - exporters use sparse by default