Skip to content

Commit 56617d0

Browse files
author
david.algis
committed
🚚 move UnityInterface to completely decoupled Utilities and Unity
1 parent 1886876 commit 56617d0

File tree

17 files changed

+47
-589
lines changed

17 files changed

+47
-589
lines changed
Binary file not shown.
320 KB
Binary file not shown.
123 KB
Binary file not shown.

InteropUnityCUDA/log.txt

Lines changed: 1 addition & 543 deletions
Large diffs are not rendered by default.

Plugin/PluginInteropUnityCUDA/include/Action.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#pragma once
2-
//contains the macro to export and import in dll
3-
#include "log.h"
2+
#include "IUnityGraphics.h"
43
#include <functional>
54

65
/// <summary>

Plugin/PluginInteropUnityCUDA/include/Buffer/vertex_buffer.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#pragma once
2-
#include "log.h"
3-
#include "cuda_include.h"
42
#include "texture.h"
3+
#include "IUnityGraphics.h"
4+
#include "cuda_include.h"
5+
#include "log.h"
56

67
UNITY_INTERFACE_EXPORT struct dim3;
78

Plugin/PluginInteropUnityCUDA/include/Texture/texture.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
2-
#include "log.h"
2+
#include "IUnityGraphics.h"
33
#include "cuda_include.h"
4+
#include "log.h"
45

56

67
class UNITY_INTERFACE_EXPORT Texture

Plugin/PluginInteropUnityCUDA/include/unity_plugin.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#pragma once
2-
#include "framework.h"
3-
#include "log.h"
4-
#include "renderAPI.h"
2+
53
#include "action.h"
4+
#include "IUnityGraphics.h"
5+
#include "renderAPI.h"
6+
#include "log.h"
67
#include <memory>
78
#include <map>
89

0 commit comments

Comments
 (0)