Files
Gryphn/src/platform/gryphn_platform_include.h
2025-05-20 17:39:40 -04:00

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