Skip to content

API Reference / @gtkx/gl / invalidateFramebuffer

Function: invalidateFramebuffer() ​

invalidateFramebuffer(target, numAttachments, attachments): void

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

void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments)

Provided by GL_VERSION_4_3. Registry note: Reuse commands from ARB_invalidate_subdata Also provided by the GL_ARB_invalidate_subdata extension.

Parameters ​

target ​

number

FramebufferTarget

numAttachments ​

number

GLsizei

attachments ​

Uint32Array<ArrayBufferLike> | number[]

InvalidateFramebufferAttachment[] | Uint32Array, length numAttachments

Returns ​

void