glInvalidateTexSubImage function opengl_glext

void glInvalidateTexSubImage(
  1. int texture,
  2. int level,
  3. int xoffset,
  4. int yoffset,
  5. int zoffset,
  6. int width,
  7. int height,
  8. int depth,
)
GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth)

Implementation

void glInvalidateTexSubImage(
  int texture,
  int level,
  int xoffset,
  int yoffset,
  int zoffset,
  int width,
  int height,
  int depth,
) {
  final glInvalidateTexSubImageAsFunction = _glInvalidateTexSubImage
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Int32 level,
            Int32 xoffset,
            Int32 yoffset,
            Int32 zoffset,
            Uint32 width,
            Uint32 height,
            Uint32 depth,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int level,
          int xoffset,
          int yoffset,
          int zoffset,
          int width,
          int height,
          int depth,
        )
      >();
  return glInvalidateTexSubImageAsFunction(
    texture,
    level,
    xoffset,
    yoffset,
    zoffset,
    width,
    height,
    depth,
  );
}