]> git.tdb.fi Git - libs/gl.git/blobdiff - source/select.h
Add files
[libs/gl.git] / source / select.h
diff --git a/source/select.h b/source/select.h
new file mode 100644 (file)
index 0000000..e862fe5
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef MSP_GL_SELECT_H_
+#define MSP_GL_SELECT_H_
+
+#include <vector>
+
+namespace Msp {
+namespace GL {
+               
+struct SelectRecord
+{
+       uint min_depth;
+       uint max_depth;
+       std::vector<uint> names;
+};
+
+void select_buffer(std::vector<SelectRecord> &);
+void parse_select_records(const uint *buf, uint, std::vector<SelectRecord> &);
+
+void _parse_internal_select_records(uint);
+
+} // namespace GL
+} // namespace Msp
+
+#endif