summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/graph.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/graph.h b/include/graph.h
index d3bbbcf..61951f5 100644
--- a/include/graph.h
+++ b/include/graph.h
@@ -1,13 +1,17 @@
#ifndef MINO_GRAPH_H
#define MINO_GRAPH_H
+#define GRAPH_GLSL(...)"#version 330 core\n"#__VA_ARGS__
X V graph_init(V);
X V graph_deinit(V);
X V graph_events(V);
X V graph_before(V);
X V graph_after(V);
-X V graph_quad(U32);
+X V graph_quad(V);
X U32 graph_shader_create(IM C*,IM C*);
X U32 graph_shader_tex;
+X V graph_shader_use(U32);
+X V graph_shader_seti(IM C*,I);
X U32 graph_tex_create(IM C*);
+X V graph_tex_use(U32,U8);
#endif