Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[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