glTexSubImage1D function

void glTexSubImage1D(
  1. int target,
  2. int level,
  3. int xoffset,
  4. int width,
  5. int format,
  6. int type,
  7. Pointer<Void> pixels,
)
GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels)

Implementation

void glTexSubImage1D(int target, int level, int xoffset, int width, int format,
    int type, Pointer<Void> pixels) {
  final glTexSubImage1DLookupFunction = libGL.lookupFunction<
      Void Function(Uint32 target, Int32 level, Int32 xoffset, Uint32 width,
          Uint32 format, Uint32 type, Pointer<Void> pixels),
      void Function(int target, int level, int xoffset, int width, int format,
          int type, Pointer<Void> pixels)>('glTexSubImage1D');
  return glTexSubImage1DLookupFunction(
      target, level, xoffset, width, format, type, pixels);
}