blob: 40043965805b8e50bae437a5569e6ee01409dc35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include "rendering/rhi.h"
namespace Donut::RHI
{
// OpenGL implementation of the RHI Device: emulates the explicit model with
// immediate-mode GL 4.1 (one global VAO, glBindBufferBase for UBOs, FBOs for
// render targets, per-draw attribute setup, bindings assigned by name).
auto create_opengl_device() -> Scope<Device>;
}
|