Пример #1
0
func GenerateMipmap(target Enum) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.GenerateMipmap(%v) %v", target, errstr)
	}()
	C.glGenerateMipmap(target.c())
}
Пример #2
0
func GenerateMipmap(target Enum) {
	C.glGenerateMipmap(target.c())
}
Пример #3
0
func GenerateMipmap(target GLenum) {
	C.glGenerateMipmap(C.GLenum(target))
}
Пример #4
0
func GenerateMipmap(target TextureTarget) {
	C.glGenerateMipmap(C.GLenum(target))
}