| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GLUE
GLUE.BaseTexture

# Method GLUE.BaseTexture()->make_mipmap()

Method make_mipmap

  `void make_mipmap(mapping imgs, int|void imode, int|void dx, int|void dy)`

Description

  Renders a mipmap of the image/partial image imgs .

Parameter `imgs`

  Image data mapping to feed GL.glTexImage2D or GL.glTexSubImage2D .

Parameter `imode`

  Internal format to feed GL.glTexImage2D , or UNDEFINED for partial images.

Parameter `dx`
Parameter `dy`

  Xoffs, yoffs to feed GL.glTexSubImage2D for partial images.

See also

  create_texture