Skip to content

API Reference / @gtkx/gl / invalidateSubFramebuffer

Function: invalidateSubFramebuffer() ​

invalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height): void

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

void glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height)

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

x ​

number

GLint

y ​

number

GLint

width ​

number

GLsizei

height ​

number

GLsizei

Returns ​

void