ubershaders and path stripping in metascene
[ld37_one_room] / src / ubersdr.h
diff --git a/src/ubersdr.h b/src/ubersdr.h
new file mode 100644 (file)
index 0000000..8b2ada4
--- /dev/null
@@ -0,0 +1,36 @@
+#ifndef UBERSDR_H_
+#define UBERSDR_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int uber_init(const char *vsname, const char *psname);
+void uber_destroy(void);
+
+void uber_clear(void);
+
+void uber_enable_light(int idx);
+void uber_disable_light(int idx);
+
+void uber_enable_texmap(void);
+void uber_disable_texmap(void);
+
+void uber_enable_cubemap(void);
+void uber_disable_cubemap(void);
+
+void uber_enable_sphmap(void);
+void uber_disable_sphmap(void);
+
+void uber_enable_shadows(void);
+void uber_disable_shadows(void);
+
+unsigned int uber_vertex_shader(void);
+unsigned int uber_pixel_shader(void);
+unsigned int uber_program(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* UBERSDR_H_ */