Files
Gryphn/projects/platform/gryphn_platform_include.h
2025-06-24 12:04:16 -04:00

24 lines
580 B
C

#pragma once
#include "gryphn_rendering_api.h"
#ifdef GN_PLATFORM_LINUX
#include <platform/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