Пример #1
0
func GenQueries(queries []Query) {
	if len(queries) > 0 {
		C.glGenQueries(C.GLsizei(len(queries)), (*C.GLuint)(&queries[0]))
	}
}
Пример #2
0
func GenQuery() (q Query) {
	C.glGenQueries(1, (*C.GLuint)(&q))
	return
}