glShaderBinary

load pre-compiled shader binaries

Signature

glShaderBinary( GLsizei ( count ) , const GLuint *( shaders ) , GLenum ( binaryFormat ) , const void *( binary ) , GLsizei ( length ) )-> void
glShaderBinary( count , shaders , binaryformat , binary , length )

Parameters

VariablesDescription
count
Specifies the number of shader object handles contained in shaders .
shaders
Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
binaryFormat
Specifies the format of the shader binaries contained in binary .
binary
Specifies the address of an array of bytes containing pre-compiled binary shader code.
length
Specifies the length of the array whose address is given in binary .