glInvalidateNamedFramebufferSubData function opengl_glext

void glInvalidateNamedFramebufferSubData(
  1. int framebuffer,
  2. int numAttachments,
  3. Pointer<Uint32> attachments,
  4. int x,
  5. int y,
  6. int width,
  7. int height,
)
GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height)

Implementation

void glInvalidateNamedFramebufferSubData(
  int framebuffer,
  int numAttachments,
  Pointer<Uint32> attachments,
  int x,
  int y,
  int width,
  int height,
) {
  final glInvalidateNamedFramebufferSubDataAsFunction =
      _glInvalidateNamedFramebufferSubData
          .cast<
            NativeFunction<
              Void Function(
                Uint32 framebuffer,
                Uint32 numAttachments,
                Pointer<Uint32> attachments,
                Int32 x,
                Int32 y,
                Uint32 width,
                Uint32 height,
              )
            >
          >()
          .asFunction<
            void Function(
              int framebuffer,
              int numAttachments,
              Pointer<Uint32> attachments,
              int x,
              int y,
              int width,
              int height,
            )
          >();
  return glInvalidateNamedFramebufferSubDataAsFunction(
    framebuffer,
    numAttachments,
    attachments,
    x,
    y,
    width,
    height,
  );
}