]> git.tdb.fi Git - libs/gl.git/blob - source/select.h
Windows compatibility:
[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 #include "types.h"
13
14 namespace Msp {
15 namespace GL {
16                 
17 struct SelectRecord
18 {
19         uint min_depth;
20         uint max_depth;
21         std::vector<uint> names;
22 };
23
24 void select_buffer(std::vector<SelectRecord> &);
25 void parse_select_records(const uint *buf, uint, std::vector<SelectRecord> &);
26
27 void _parse_internal_select_records(uint);
28
29 } // namespace GL
30 } // namespace Msp
31
32 #endif