24 lines
576 B
C
24 lines
576 B
C
#pragma once
|
|
#include "core/gryphn_rendering_api.h"
|
|
|
|
#ifdef GN_PLATFORM_LINUX
|
|
#include "platform_linux/gryphn_platform_linux.h"
|
|
#endif
|
|
|
|
#ifdef GN_PLATFORM_MACOS
|
|
#include <platform/platform_macos/gryphn_platform_macos.h>
|
|
#endif
|
|
|
|
#ifdef GN_PLATFORM_WINDOWS
|
|
#include "platform_windows/gryphn_platform_windows.h"
|
|
#endif
|
|
|
|
gnRenderingAPI* gnGetSupportedRenderingAPIs(int* count);
|
|
|
|
// #ifdef __cplusplus
|
|
// template <typename function>
|
|
// void gnPlatformLoadDLLFunction(void *dll, function& func, gnString name) {
|
|
// func = (function)gnLoadFunctionPtr(dll, name);
|
|
// }
|
|
// #endif
|