logo
pub unsafe fn glTexImage2D(
    target: GLenum,
    level: GLint,
    internalformat: GLint,
    width: GLsizei,
    height: GLsizei,
    border: GLint,
    format: GLenum,
    type_: GLenum,
    pixels: *const c_void
)
Expand description

glTexImage2D(target, level, internalformat, width, height, border, format, type_, pixels) target group: TextureTarget level group: CheckedInt32 internalformat group: InternalFormat border group: CheckedInt32 format group: PixelFormat type_ group: PixelType pixels len: COMPSIZE(format,type,width,height)