Function dx::platform::gles::ffi::global_commands::glTexSubImage2D
source · [−]pub unsafe fn glTexSubImage2D(
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
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)