Skip to content

API Reference / @gtkx/gl / invalidateFramebuffer

Function: invalidateFramebuffer()

invalidateFramebuffer(target, numAttachments, attachments): void

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

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

number[] | Uint32Array<ArrayBufferLike>

InvalidateFramebufferAttachment[] | Uint32Array, length numAttachments

Returns

void

Released under the MPL-2.0 License.