[−][src]Function gles30::global_commands::glTexImage2D
pub unsafe fn glTexImage2D(
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
glTexImage2D(target, level, internalformat, width, height, border, format, type_, pixels)
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32format
group: PixelFormattype_
group: PixelTypepixels
len: COMPSIZE(format,type,width,height)