glTextureSubImage3D function opengl_glext

void glTextureSubImage3D(
  1. int texture,
  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<Void> pixels,
)
GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels)

Implementation

void glTextureSubImage3D(
  int texture,
  int level,
  int xoffset,
  int yoffset,
  int zoffset,
  int width,
  int height,
  int depth,
  int format,
  int type,
  Pointer<Void> pixels,
) {
  final glTextureSubImage3DAsFunction = _glTextureSubImage3D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Int32 level,
            Int32 xoffset,
            Int32 yoffset,
            Int32 zoffset,
            Int32 width,
            Int32 height,
            Int32 depth,
            Uint32 format,
            Uint32 type,
            Pointer<Void> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int level,
          int xoffset,
          int yoffset,
          int zoffset,
          int width,
          int height,
          int depth,
          int format,
          int type,
          Pointer<Void> pixels,
        )
      >();
  return glTextureSubImage3DAsFunction(
    texture,
    level,
    xoffset,
    yoffset,
    zoffset,
    width,
    height,
    depth,
    format,
    type,
    pixels,
  );
}