glTextureSubImage2Dext function opengl_glext

void glTextureSubImage2Dext(
  1. int texture,
  2. int target,
  3. int level,
  4. int xoffset,
  5. int yoffset,
  6. int width,
  7. int height,
  8. int format,
  9. int type,
  10. Pointer<NativeType> pixels,
)
GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)

Implementation

void glTextureSubImage2Dext(
  int texture,
  int target,
  int level,
  int xoffset,
  int yoffset,
  int width,
  int height,
  int format,
  int type,
  Pointer<NativeType> pixels,
) {
  final glTextureSubImage2DextAsFunction = _glTextureSubImage2Dext
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Uint32 target,
            Int32 level,
            Int32 xoffset,
            Int32 yoffset,
            Uint32 width,
            Uint32 height,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int target,
          int level,
          int xoffset,
          int yoffset,
          int width,
          int height,
          int format,
          int type,
          Pointer<NativeType> pixels,
        )
      >();
  return glTextureSubImage2DextAsFunction(
    texture,
    target,
    level,
    xoffset,
    yoffset,
    width,
    height,
    format,
    type,
    pixels,
  );
}