mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-16 10:04:42 +03:00
21 lines
426 B
C++
21 lines
426 B
C++
#ifndef GX_DEVICE_HPP
|
|
#define GX_DEVICE_HPP
|
|
|
|
#include "gx/CGxDevice.hpp"
|
|
#include "gx/Types.hpp"
|
|
#include <cstdint>
|
|
|
|
class CGxFormat;
|
|
|
|
extern CGxDevice* g_theGxDevicePtr;
|
|
|
|
CGxDevice* GxDevCreate(EGxApi api, int32_t (*windowProc)(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam), const CGxFormat& format);
|
|
|
|
EGxApi GxDevApi(void);
|
|
|
|
void* GxDevWindow();
|
|
|
|
int32_t GxMasterEnable(EGxMasterEnables state);
|
|
|
|
#endif
|