|
|
@ -1,4 +1,4 @@ |
|
|
#include "Upscaler.h"
|
|
|
|
|
|
|
|
|
#include "IUpscaler.h"
|
|
|
|
|
|
|
|
|
#include "UnityPluginAPI/IUnityInterface.h"
|
|
|
#include "UnityPluginAPI/IUnityInterface.h"
|
|
|
#include "UnityPluginAPI/IUnityLog.h"
|
|
|
#include "UnityPluginAPI/IUnityLog.h"
|
|
|
@ -20,7 +20,7 @@ static void UNITY_INTERFACE_API OnGraphicsDeviceEvent(UnityGfxDeviceEventType ev |
|
|
static void UNITY_INTERFACE_API OnRenderEventAndData(int eventID, void* data); |
|
|
static void UNITY_INTERFACE_API OnRenderEventAndData(int eventID, void* data); |
|
|
static void UNITY_INTERFACE_API OnSetTextureEvent(int eventID, void* data); |
|
|
static void UNITY_INTERFACE_API OnSetTextureEvent(int eventID, void* data); |
|
|
|
|
|
|
|
|
static Upscaler* s_Upscaler = nullptr; |
|
|
|
|
|
|
|
|
static IUpscaler* s_Upscaler = nullptr; |
|
|
|
|
|
|
|
|
// Unity plugin load event
|
|
|
// Unity plugin load event
|
|
|
extern "C" void UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API UnityPluginLoad(IUnityInterfaces* unityInterfaces) |
|
|
extern "C" void UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API UnityPluginLoad(IUnityInterfaces* unityInterfaces) |
|
|
|