glTexSubImage1D function opengl

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

Implementation

void glTexSubImage1D(
  int target,
  int level,
  int xoffset,
  int width,
  int format,
  int type,
  Pointer<NativeType> pixels,
) {
  final glTexSubImage1DAsFunction = _glTexSubImage1D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 level,
            Int32 xoffset,
            Uint32 width,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int level,
          int xoffset,
          int width,
          int format,
          int type,
          Pointer<NativeType> pixels,
        )
      >();
  return glTexSubImage1DAsFunction(
    target,
    level,
    xoffset,
    width,
    format,
    type,
    pixels,
  );
}