mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
Added screenshot feature (F2 key)
This commit is contained in:
parent
d42d2dc294
commit
3723cf491f
9 changed files with 113 additions and 11 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <glm/glm.hpp>
|
||||
|
||||
class GLFWwindow;
|
||||
class ImageData;
|
||||
|
||||
class Window {
|
||||
static GLFWwindow* window;
|
||||
|
|
@ -33,8 +34,9 @@ public:
|
|||
static void resetScissor();
|
||||
|
||||
static void clear();
|
||||
|
||||
static double time();
|
||||
|
||||
static ImageData* takeScreenshot();
|
||||
};
|
||||
|
||||
#endif /* WINDOW_WINDOW_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue