X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fselect.h;fp=source%2Fselect.h;h=e862fe5c810da488531656f31dacd9e6c311f1bc;hb=7adcad3b40a03000a82e32db4523761c218309b8;hp=0000000000000000000000000000000000000000;hpb=0dee03fed37c5436fe6d18dbca55f78259891823;p=libs%2Fgl.git diff --git a/source/select.h b/source/select.h new file mode 100644 index 00000000..e862fe5c --- /dev/null +++ b/source/select.h @@ -0,0 +1,24 @@ +#ifndef MSP_GL_SELECT_H_ +#define MSP_GL_SELECT_H_ + +#include + +namespace Msp { +namespace GL { + +struct SelectRecord +{ + uint min_depth; + uint max_depth; + std::vector names; +}; + +void select_buffer(std::vector &); +void parse_select_records(const uint *buf, uint, std::vector &); + +void _parse_internal_select_records(uint); + +} // namespace GL +} // namespace Msp + +#endif