glTexSubImage3D function opengl

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

Implementation

void glTexSubImage3D(
  int target,
  int level,
  int xoffset,
  int yoffset,
  int zoffset,
  int width,
  int height,
  int depth,
  int format,
  int type,
  Pointer<NativeType> pixels,
) {
  final glTexSubImage3DAsFunction = _glTexSubImage3D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 level,
            Int32 xoffset,
            Int32 yoffset,
            Int32 zoffset,
            Uint32 width,
            Uint32 height,
            Uint32 depth,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int level,
          int xoffset,
          int yoffset,
          int zoffset,
          int width,
          int height,
          int depth,
          int format,
          int type,
          Pointer<NativeType> pixels,
        )
      >();
  return glTexSubImage3DAsFunction(
    target,
    level,
    xoffset,
    yoffset,
    zoffset,
    width,
    height,
    depth,
    format,
    type,
    pixels,
  );
}