summaryrefslogtreecommitdiff
path: root/misc/proto/binary_program.proto
diff options
context:
space:
mode:
Diffstat (limited to 'misc/proto/binary_program.proto')
-rw-r--r--misc/proto/binary_program.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/proto/binary_program.proto b/misc/proto/binary_program.proto
new file mode 100644
index 0000000000..9d06a209c3
--- /dev/null
+++ b/misc/proto/binary_program.proto
@@ -0,0 +1,18 @@
+// Protocol Version 1
+
+package mapboxgl.binary_program;
+
+option optimize_for = LITE_RUNTIME;
+
+message binding {
+ required string name = 1;
+ required uint32 value = 2;
+}
+
+message binary_program {
+ required uint32 format = 1;
+ required bytes code = 2;
+ repeated binding attribute = 3;
+ repeated binding uniform = 4;
+ optional string identifier = 5;
+}