mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:58:03 +02:00
21 lines
422 B
C++
21 lines
422 B
C++
#pragma once
|
|
|
|
#include <chrono>
|
|
#include <array>
|
|
#include <glm/glm.hpp>
|
|
|
|
class NativeRenderer {
|
|
public:
|
|
void InitializeGl();
|
|
void DrawFrame();
|
|
void OnTriggerEvent();
|
|
void OnPause();
|
|
void OnResume();
|
|
|
|
private:
|
|
std::chrono::time_point<std::chrono::system_clock> start { std::chrono::system_clock::now() };
|
|
|
|
uint32_t _geometryBuffer { 0 };
|
|
uint32_t _vao { 0 };
|
|
uint32_t _program { 0 };
|
|
};
|