Function TCOD_image_get_mipmap_pixel

Function Documentation

TCOD_color_t TCOD_image_get_mipmap_pixel(TCOD_Image *image, float x0, float y0, float x1, float y1)

Return a mipmapped pixel of image.

Mipmaps are updated when you call this, so it can’t be called from multiple threads.