Skip to content

Commit f35e201

Browse files
committed
Add IImaging.h stub
1 parent a2f919c commit f35e201

4 files changed

Lines changed: 21 additions & 14 deletions

File tree

extern/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ set(KIT_SDK_ROOT "${NVIDIA_BUILD_DIR}/target-deps/kit-sdk")
207207
set(KIT_OMNI_UI_ROOT "${NVIDIA_BUILD_DIR}/target-deps/omni-ui")
208208
set(KIT_IMGUI_ROOT "${NVIDIA_BUILD_DIR}/target-deps/omni-kit-renderer-imgui")
209209
set(PYBIND11_ROOT "${NVIDIA_BUILD_DIR}/target-deps/pybind11")
210-
set(RTX_PLUGINS_ROOT "${NVIDIA_BUILD_DIR}/target-deps/rtx_plugins")
211210

212211
set(NVIDIA_USD_LIBRARIES
213212
usd_ar
@@ -353,16 +352,6 @@ add_prebuilt_project(
353352
)
354353
# cmake-format: on
355354

356-
# cmake-format: off
357-
# rtx_plugins contains carb/imaging headers needed by omni.ui
358-
add_prebuilt_project_header_only(
359-
INCLUDE_DIR
360-
"${RTX_PLUGINS_ROOT}/include"
361-
TARGET_NAME
362-
rtx_plugins
363-
)
364-
# cmake-format: on
365-
366355
# cmake-format: off
367356
add_prebuilt_project_header_only(
368357
INCLUDE_DIR

extern/nvidia/deps/target-deps.packman.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55
<filter include="usd-release"/>
66
<filter include="carb_sdk_plugins"/>
77
<filter include="pybind11"/>
8-
<filter include="rtx_plugins"/>
98
</import>
109
<!-- Override the link paths to point to the correct locations. -->
1110
<dependency name="python" linkPath="../_build/target-deps/python"/>
1211
<dependency name="usd-release" linkPath="../_build/target-deps/usd/release"/>
1312
<dependency name="carb_sdk_plugins" linkPath="../_build/target-deps/carb_sdk_plugins"/>
1413
<dependency name="pybind11" linkPath="../_build/target-deps/pybind11/pybind11"/>
15-
<dependency name="rtx_plugins" linkPath="../_build/target-deps/rtx_plugins"/>
1614
</project>

src/core/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ setup_lib(
5252
SOURCES
5353
${SOURCES}
5454
INCLUDE_DIRS
55+
# Stub headers for rtx_plugins (not publicly available)
56+
"${CMAKE_CURRENT_LIST_DIR}/include/stubs"
5557
"${CMAKE_CURRENT_LIST_DIR}/include"
5658
LIBRARIES
5759
CesiumUsdSchemas
@@ -208,7 +210,6 @@ setup_lib(
208210
boost_python311
209211
tbb
210212
carb
211-
rtx_plugins
212213
omni_kit
213214
omni_ui
214215
pybind11
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Stub header for carb/imaging/IImaging.h
2+
// Provides minimal declarations needed for omni.ui ImageProvider
3+
// This file exists because rtx_plugins (which contains the real header) is not publicly available.
4+
#pragma once
5+
6+
namespace carb::imaging {
7+
8+
// Forward declaration for IMetadata interface (used as pointer parameter in ImageProvider)
9+
class IMetadata;
10+
11+
// DisplayWindowRect structure used by ImageProvider
12+
struct DisplayWindowRect {
13+
float left;
14+
float top;
15+
float right;
16+
float bottom;
17+
};
18+
19+
} // namespace carb::imaging

0 commit comments

Comments
 (0)