violet
Simple, cross-platform graphics API
Loading...
Searching...
No Matches
id.h
1#ifndef __VIOLET_ID_H__
2#define __VIOLET_ID_H__
3
4#include <cstddef>
5
6namespace violet {
7
8template<typename T>
9struct Handle {
10 size_t id;
11};
12
13struct Buffer;
14
15template<>
16struct Handle<Buffer> {
17 size_t id;
18 void*
20};
21
22} // namespace violet
23
24#endif
Definition render.h:124
void * contents
Pointer to buffer contents. Valid for as long as the GPU buffer is alive.
Definition id.h:19
Definition id.h:9