]> git.tdb.fi Git - libs/gl.git/blob - source/select.h
2ca28193d7924e63139304686777842b446d2ca0
[libs/gl.git] / source / select.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_SELECT_H_
9 #define MSP_GL_SELECT_H_
10
11 #include <vector>
12
13 namespace Msp {
14 namespace GL {
15                 
16 struct SelectRecord
17 {
18         uint min_depth;
19         uint max_depth;
20         std::vector<uint> names;
21 };
22
23 void select_buffer(std::vector<SelectRecord> &);
24 void parse_select_records(const uint *buf, uint, std::vector<SelectRecord> &);
25
26 void _parse_internal_select_records(uint);
27
28 } // namespace GL
29 } // namespace Msp
30
31 #endif