Skip to content

raisim::mesh_files ​

namespace

Functions ​

validateGlb ​

#include <raisim/GlbValidation.hpp>

cpp
bool validateGlb(
    const std::filesystem::path &file,
    std::string *error=nullptr)

Check binary glTF envelopes before an importer allocates their declared payloads. Both GLB 1 and GLB 2 are accepted. Other filename extensions are left to the importer. Only headers are read; memory use does not depend on any length in the file.

RaiSim — physics for robotics and AI.