Skip to content

API Reference / @gtkx/gl / programBinary

Function: programBinary() ​

programBinary(program, binaryFormat, binary, length): void

Defined in: packages/gl/src/generated/commands.ts:5442

void glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length)

Provided by GL_VERSION_4_1. Registry note: Reuse commands from ARB_get_program_binary Also provided by the GL_ARB_get_program_binary extension. Also known as glProgramBinaryOES.

Parameters ​

program ​

number

GLuint, object class program

binaryFormat ​

number

GLenum

binary ​

GLpointer | ArrayBufferView<ArrayBufferLike> | null

ArrayBufferView | GLpointer | null, length length

length ​

number

GLsizei

Returns ​

void