SDRPlusPlus/core/src/backend.h

12 lines
286 B
C
Raw Normal View History

2022-01-29 20:35:08 +01:00
#pragma once
#include <string>
namespace backend {
int init(std::string resDir = "");
2022-01-29 20:35:08 +01:00
void beginFrame();
void render(bool vsync = true);
void getMouseScreenPos(double& x, double& y);
void setMouseScreenPos(double x, double y);
int renderLoop();
int end();
}