thunderbrew/src/gx/Device.hpp
2023-03-19 23:48:52 -05:00

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