logo
pub unsafe fn glTexSubImage2D(
    target: u32,
    level: i32,
    xoffset: i32,
    yoffset: i32,
    width: i32,
    height: i32,
    format: u32,
    type_: u32,
    pixels: *const c_void
)
Expand description

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)