violet
Simple, cross-platform graphics API
Loading...
Searching...
No Matches
violet.h
1#ifndef __VIOLET_H__
2#define __VIOLET_H__
3
4#include <vector>
5
6#include "id.h"
7
8#if defined(__APPLE__)
9 #include "../priv/mtl_renderer.h"
10#elif defined(_WIN32)
11 #include "../priv/d3d11_renderer.h"
12#elif defined(__EMSCRIPTEN__)
13 #include "../priv/webgl2_renderer.h"
14#endif
15
16#include "render.h"
17
18namespace violet {
19
20#if defined(__APPLE__)
22using RenderCommandEncoderType =
24#elif defined(_WIN32)
26#elif defined(__EMSCRIPTEN__)
28#endif
29
30} // namespace violet
31
32#endif
Definition render.h:295
Definition render.h:267