Exemplo n.º 1
0
func ShaderBinary(
	n Sizei, shaders *uint32,
	binaryformat Enum, binary Void, length Sizei) {
	C.glShaderBinary(
		C.GLsizei(n),
		(*C.GLuint)(shaders),
		C.GLenum(binaryformat),
		unsafe.Pointer(binary),
		C.GLsizei(length))
}
Exemplo n.º 2
0
func ShaderBinary(shaders []Shader, format ShaderBinaryFormat, binary []byte) {
	C.glShaderBinary(C.GLsizei(len(shaders)), (*C.GLuint)(&shaders[0]), C.GLenum(format), unsafe.Pointer(&binary[0]), C.GLsizei(len(binary)))
}
Exemplo n.º 3
0
func ShaderBinary(n int, shaders Void, binaryformat uint, binary Void, length int) {
	C.glShaderBinary(C.GLsizei(n), (*C.GLuint)(shaders),
		C.GLenum(binaryformat), unsafe.Pointer(binary), C.GLsizei(length))
}