Function Kataglyphis::uploadPreconditionsMet#
Defined in File ModelAssembly.ixx
Function Documentation#
Shared tail of ObjLoader::uploadParsed and GltfLoader::uploadParsed: both loaders differ only in how a texture’s bytes reach them (file vs. memory) and in shape-specific parse-time skips, not in what happens to the result. This is that shared shape. The two guards both uploadParsed overrides check before touching the device: device-first, then empty-parse, so a device-free loader that also never parsed reports the more actionable error (the device). Programming errors, not runtime conditions - AsyncModelParse only ever hands parsed state to a device-owning loader, so these only fire when that wiring breaks - hence log-and-return-false rather than silence.