Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
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
14namespace filament {
15namespace backend {
16class Platform;
17} // namespace backend
18} // namespace filament
20
21namespace open3d {
22namespace visualization {
23namespace rendering {
24
28struct FilamentMetalNativeHandles {
29 std::uintptr_t device = 0;
30 std::uintptr_t command_queue = 0;
31 bool valid = false;
32};
33
34FilamentMetalNativeHandles 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