Pike v8.1 release 6

Method GLUE.make_rect_texture()


Method make_rect_texture

BaseTexture make_rect_texture(mapping|Image.Image image, string|void name)

Description

Create a texture with the specified image as contents. Will try to use the TEXTURE_RECTANGLE_NV extension if available, otherwise normal textures will be used (like make_texture).

See also

make_texture