示例#1
0
文件: gl.go 项目: micia/gl
//void glDrawArraysInstanced(GLenum mode,  GLint first,  GLsizei count,  GLsizei primcount)
func DrawArraysInstanced(mode GLenum, first int, count, primcount int) {
	C.glDrawArraysInstanced(C.GLenum(mode), C.GLint(first), C.GLsizei(count), C.GLsizei(primcount))
}
示例#2
0
文件: gl.go 项目: jackscan/go-gles3
func DrawArraysInstanced(mode DrawMode, first, count, instanceCount int) {
	C.glDrawArraysInstanced(C.GLenum(mode), C.GLint(first), C.GLsizei(count), C.GLsizei(instanceCount))
}