glTexImage1D function opengl

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<NativeType> pixels,
)
GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels )

Implementation

void glTexImage1D(
  int target,
  int level,
  int internalFormat,
  int width,
  int border,
  int format,
  int type,
  Pointer<NativeType> pixels,
) {
  final glTexImage1DAsFunction = _glTexImage1D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 level,
            Int32 internalFormat,
            Uint32 width,
            Int32 border,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int level,
          int internalFormat,
          int width,
          int border,
          int format,
          int type,
          Pointer<NativeType> pixels,
        )
      >();
  return glTexImage1DAsFunction(
    target,
    level,
    internalFormat,
    width,
    border,
    format,
    type,
    pixels,
  );
}