Make AR playback frame loading async
This commit is contained in:
@@ -34,9 +34,7 @@ namespace openVulkanoCpp::AR::ArKit
|
||||
if (ss.gcount() > 1) ss << ", ";
|
||||
ss << format.imageResolution.width << 'x' << format.imageResolution.height;
|
||||
ss << '@' << format.framesPerSecond;
|
||||
if (@available
|
||||
(iOS
|
||||
16.0, *))
|
||||
if (@available(iOS 16.0, *))
|
||||
{
|
||||
if (format.videoHDRSupported) ss << "_HDR";
|
||||
if (format.isRecommendedForHighResolutionFrameCapturing) ss << "_HdCaptureRecommended";
|
||||
@@ -49,9 +47,7 @@ namespace openVulkanoCpp::AR::ArKit
|
||||
void LogFormat(std::string_view formatUsage, ARVideoFormat* format)
|
||||
{
|
||||
bool hdr = false, hdCapture = false;
|
||||
if (@available
|
||||
(iOS
|
||||
16.0, *))
|
||||
if (@available(iOS 16.0, *))
|
||||
{
|
||||
hdr = format.videoHDRSupported;
|
||||
hdCapture = format.isRecommendedForHighResolutionFrameCapturing;
|
||||
|
||||
Reference in New Issue
Block a user