Pike v8.1 release 6

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