[][src]Function gles30::global_commands::glTexSubImage2D

pub unsafe fn glTexSubImage2D(
    target: GLenum,
    level: GLint,
    xoffset: GLint,
    yoffset: GLint,
    width: GLsizei,
    height: GLsizei,
    format: GLenum,
    type_: GLenum,
    pixels: *const c_void
)

glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • yoffset group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(format,type,width,height)