[][src]Function gl46::glTexImage1D

pub unsafe fn glTexImage1D(
    target: GLenum,
    level: GLint,
    internalformat: GLint,
    width: GLsizei,
    border: GLint,
    format: GLenum,
    type_: GLenum,
    pixels: *const c_void
)

glTexImage1D(target, level, internalformat, width, 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)