aboutsummaryrefslogtreecommitdiff
path: root/demo/DemoApp/NvFlowInteropLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demo/DemoApp/NvFlowInteropLoader.cpp')
-rw-r--r--demo/DemoApp/NvFlowInteropLoader.cpp48
1 files changed, 2 insertions, 46 deletions
diff --git a/demo/DemoApp/NvFlowInteropLoader.cpp b/demo/DemoApp/NvFlowInteropLoader.cpp
index 6224373..082afcf 100644
--- a/demo/DemoApp/NvFlowInteropLoader.cpp
+++ b/demo/DemoApp/NvFlowInteropLoader.cpp
@@ -14,50 +14,6 @@
#include "NvFlowInterop.h"
-namespace
-{
- ModuleLoader<16u, SDL_LoadObject, SDL_UnloadObject, SDL_LoadFunction> g_loader;
-}
+#include <stdio.h>
-void loadNvFlowInterop(AppGraphCtxType type)
-{
- const char* moduleName = demoAppDLLName(type);
-
- g_loader.loadModule(moduleName);
-}
-
-void unloadNvFlowInterop()
-{
- g_loader.unloadModule();
-}
-
-// Functions
-NvFlowContext* NvFlowInteropCreateContext(AppGraphCtx* appctx)
-{
- return g_loader.function<0>(NvFlowInteropCreateContext, "NvFlowInteropCreateContext", appctx);
-}
-
-NvFlowDepthStencilView* NvFlowInteropCreateDepthStencilView(AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<1>(NvFlowInteropCreateDepthStencilView, "NvFlowInteropCreateDepthStencilView", appctx, flowctx);
-}
-
-NvFlowRenderTargetView* NvFlowInteropCreateRenderTargetView(AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<2>(NvFlowInteropCreateRenderTargetView, "NvFlowInteropCreateRenderTargetView", appctx, flowctx);
-}
-
-void NvFlowInteropUpdateContext(NvFlowContext* context, AppGraphCtx* appctx)
-{
- return g_loader.function<3>(NvFlowInteropUpdateContext, "NvFlowInteropUpdateContext", context, appctx);
-}
-
-void NvFlowInteropUpdateDepthStencilView(NvFlowDepthStencilView* view, AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<4>(NvFlowInteropUpdateDepthStencilView, "NvFlowInteropUpdateDepthStencilView", view, appctx, flowctx);
-}
-
-void NvFlowInteropUpdateRenderTargetView(NvFlowRenderTargetView* view, AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<5>(NvFlowInteropUpdateRenderTargetView, "NvFlowInteropUpdateRenderTargetView", view, appctx, flowctx);
-} \ No newline at end of file
+#include "NvFlowInteropLoaderGenerated.h" \ No newline at end of file