thunderbrew/src/gx/Device.hpp

19 lines
404 B
C++
Raw Normal View History

2023-01-02 13:17:18 -06:00
#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);
2023-01-02 13:17:18 -06:00
EGxApi GxDevApi(void);
int32_t GxMasterEnable(EGxMasterEnables state);
#endif