Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquick3dxrvisionosmanager.mm
Go to the documentation of this file.
1// Copyright (C) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
5
7
8+ (instancetype)sharedManager {
9 static QQuick3DXRVisionOSManager *sharedInstance = nil;
10 static dispatch_once_t onceToken;
11 dispatch_once(&onceToken, ^{
12 sharedInstance = [[self alloc] init];
13 // Default initialization if needed
14 sharedInstance.layerRenderer = NULL; // Initialize with NULL or a suitable default
15 });
16 return sharedInstance;
17}
18
19@end