mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-19 23:02:43 +00:00
Backend abstraction
This commit is contained in:
12
core/src/backend.h
Normal file
12
core/src/backend.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
namespace backend {
|
||||
int init(std::string resDir);
|
||||
void beginFrame();
|
||||
void render(bool vsync = true);
|
||||
void getMouseScreenPos(double& x, double& y);
|
||||
void setMouseScreenPos(double x, double y);
|
||||
int renderLoop();
|
||||
int end();
|
||||
}
|
||||
Reference in New Issue
Block a user