glTexSubImage2Dext function opengl_glext

void glTexSubImage2Dext(
  1. int target,
  2. int level,
  3. int xoffset,
  4. int yoffset,
  5. int width,
  6. int height,
  7. int format,
  8. int type,
  9. Pointer<NativeType> pixels,
)
GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)

Implementation

void glTexSubImage2Dext(
  int target,
  int level,
  int xoffset,
  int yoffset,
  int width,
  int height,
  int format,
  int type,
  Pointer<NativeType> pixels,
) {
  final glTexSubImage2DextAsFunction = _glTexSubImage2Dext
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 level,
            Int32 xoffset,
            Int32 yoffset,
            Uint32 width,
            Uint32 height,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int level,
          int xoffset,
          int yoffset,
          int width,
          int height,
          int format,
          int type,
          Pointer<NativeType> pixels,
        )
      >();
  return glTexSubImage2DextAsFunction(
    target,
    level,
    xoffset,
    yoffset,
    width,
    height,
    format,
    type,
    pixels,
  );
}