Skip to content

API Reference / @gtkx/gl / programBinary

Function: programBinary()

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

Defined in: generated/commands.d.ts:4275

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

number | ArrayBufferView<ArrayBufferLike> | null

ArrayBufferView | GLintptr | null, length length

length

number

GLsizei

Returns

void

Released under the MPL-2.0 License.