Use async save for SaveToFile and add option to include all ar metadata

This commit is contained in:
Georg Hagen
2025-05-19 15:53:04 +02:00
parent 369528c170
commit 31bd94f939
4 changed files with 63 additions and 16 deletions

View File

@@ -25,9 +25,9 @@ namespace OpenVulkano::AR
m_session->GetRecorder().Save(shared_from_this());
}
void ArFrame::SaveToFile(const std::filesystem::path& path, bool downsample)
void ArFrame::SaveToFile(const std::filesystem::path& path, bool downsample, bool includeAux)
{
m_session->GetRecorder().SaveToFile(shared_from_this(), path, downsample);
m_session->GetRecorder().SaveToFile(shared_from_this(), path, downsample, includeAux);
}
const Scene::Texture* ArFrame::GetImageTexture()