/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ms9
Code/Tools/ShaderCompilerGLSL/ShaderCompilerGLSLDLL.h
19 строк
709 B
jankrassnigg
More PCH cleanup
07 фев 2019, 19:54
07 фев 2019, 19:54
9aaee79
Код
Авторство
О чём код?
#pragma once #include <Foundation/Basics.h> #include <Foundation/Configuration/Plugin.h> // Configure the DLL Import/Export Define #if EZ_ENABLED(EZ_COMPILE_ENGINE_AS_DLL) #ifdef BUILDSYSTEM_BUILDING_SHADERCOMPILERGLSL_LIB #define EZ_SHADERCOMPILERGLSL_DLL __declspec(dllexport) #else #define EZ_SHADERCOMPILERGLSL_DLL __declspec(dllimport) #endif #else #define EZ_SHADERCOMPILERGLSL_DLL #endif // this is required so that this DLL exports anything at all and thus a .lib and .exp file is generated (otherwise it isn't) // which in turn is necessary to statically link this library into some application EZ_DYNAMIC_PLUGIN_DECLARATION(EZ_SHADERCOMPILERGLSL_DLL, ezShaderCompilerGLSLPlugin);