Function trx::load_float32_positions

Function Documentation

std::unique_ptr<TrxFile<float>> trx::load_float32_positions(const std::string &path, const LoadFloat32Options &options = {})

Load a TRX file as float32 positions with bounded transient memory.

For native float32 files this is identical to load<float>(). For float16/float64 files, this performs chunked conversion into the loaded float32 container, avoiding any additional full-size position buffer.