Use async save for SaveToFile and add option to include all ar metadata
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user