Skip to content

API Reference / @gtkx/gl / programBinary

Function: programBinary()

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

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

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

Provided by GL_VERSION_4_1.

Parameters

program

number

GLuint, object class program

binaryFormat

number

GLenum

binary

number | ArrayBufferView<ArrayBufferLike> | null

const void *, length length

length

number

GLsizei

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glProgramBinary.xhtml

Released under the MPL-2.0 License.