glTexImage3D function opengl

void glTexImage3D(
  1. int target,
  2. int level,
  3. int internalFormat,
  4. int width,
  5. int height,
  6. int depth,
  7. int border,
  8. int format,
  9. int type,
  10. Pointer<NativeType> pixels,
)
GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels )

Implementation

void glTexImage3D(
  int target,
  int level,
  int internalFormat,
  int width,
  int height,
  int depth,
  int border,
  int format,
  int type,
  Pointer<NativeType> pixels,
) {
  final glTexImage3DAsFunction = _glTexImage3D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 level,
            Int32 internalFormat,
            Uint32 width,
            Uint32 height,
            Uint32 depth,
            Int32 border,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int level,
          int internalFormat,
          int width,
          int height,
          int depth,
          int border,
          int format,
          int type,
          Pointer<NativeType> pixels,
        )
      >();
  return glTexImage3DAsFunction(
    target,
    level,
    internalFormat,
    width,
    height,
    depth,
    border,
    format,
    type,
    pixels,
  );
}