Graphics v0.0.0
A simple abstraction layer for the modern graphics APIs.
载入中...
搜索中...
未找到
GLRenderer.h
1// Copyright 2022 ShenMian
2// License(Apache-2.0)
3
4#pragma once
5
6#include "Renderer.h"
7
8class GLRenderer : public Renderer
9{
10public:
11 std::string get_device_name() const override;
12 std::string get_renderer_name() const override;
13 std::string get_vendor_name() const override;
14
18 static void init(const Window& win);
19 static void deinit();
20
21private:
22 static void setup_debug_callback();
23};
Definition: GLRenderer.h:9
static void init(const Window &win)
Definition: GLRenderer.cpp:97
Definition: Renderer.h:10
窗体.
Definition: Window.h:24