glTexImage1D function

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

Implementation

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