summaryrefslogtreecommitdiff
path: root/intermediate/forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'intermediate/forward.h')
-rw-r--r--intermediate/forward.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/intermediate/forward.h b/intermediate/forward.h
new file mode 100644
index 0000000..7c4c9d3
--- /dev/null
+++ b/intermediate/forward.h
@@ -0,0 +1,44 @@
+#ifndef forward_h
+#define forward_h
+#ifdef DESC
+
+[struct]
+name: Light
+[variable]
+name: dir
+type: vec3
+[variable]
+name: brightness
+type: float
+[variable]
+name: colour
+type: vec3
+[variable]
+name: caster_id
+type: int
+
+[struct]
+name: Caster
+[variable]
+name: projection
+type: mat4
+
+[struct]
+name: Globals
+[variable]
+name: camera_pos
+type: vec3
+[variable]
+name: light_count
+type: int
+[variable]
+name: frame
+type: int
+
+[cbuffer]
+name: globals
+type: Globals
+stage: fragment
+
+#endif
+#endif