Open3D (C++ API)  0.19.0
FilamentNativeInterop.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 #ifdef __APPLE__
10 
11 #include <cstdint>
12 
14 namespace filament {
15 namespace backend {
16 class Platform;
17 } // namespace backend
18 } // namespace filament
20 
21 namespace open3d {
22 namespace visualization {
23 namespace rendering {
24 
28 struct FilamentMetalNativeHandles {
29  std::uintptr_t device = 0;
30  std::uintptr_t command_queue = 0;
31  bool valid = false;
32 };
33 
34 FilamentMetalNativeHandles GetFilamentMetalNativeHandles(
35  filament::backend::Platform* platform);
36 
37 } // namespace rendering
38 } // namespace visualization
39 } // namespace open3d
40 
41 #endif
Definition: FilamentEngine.h:15
FilamentMetalNativeHandles GetFilamentMetalNativeHandles(filament::backend::Platform *platform)
Definition: FilamentNativeInterop.mm:21
Definition: PinholeCameraIntrinsic.cpp:16