thenInWorkerThread传递的参数[]里是什么作用?
return asyncSystem.all(std::move(resolvedBuffers))
.thenInWorkerThread(
[pResult = std::move(pResult)](
std::vector<ExternalBufferLoadResult>&& loadResults) mutable {
for (auto& bufferResult : loadResults) {
if (!bufferResult.success) {
pResult->warnings.push_back(
"Could not load the external gltf buffer: " +
bufferResult.bufferUri);
}
}
return std::move(*pResult.release());
});
--
修改:smthxes FROM 27.208.36.*
FROM 27.208.36.*