]> git.tdb.fi Git - libs/gl.git/blob - source/select.h
Get rid of the typedefs for fundamental types
[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         unsigned min_depth;
19         unsigned max_depth;
20         std::vector<unsigned> names;
21 };
22
23 void select_buffer(std::vector<SelectRecord> &);
24 void init_names();
25 void push_name(unsigned);
26 void pop_name();
27 void load_name(unsigned);
28
29 void parse_select_records(const unsigned *buf, unsigned, std::vector<SelectRecord> &);
30
31 void _parse_internal_select_records(unsigned);
32
33 } // namespace GL
34 } // namespace Msp
35
36 #endif