Function nanogui::loadImageDirectory

Function Documentation

std::vector<std::pair<int, std::string>> nanogui::loadImageDirectory(NVGcontext *ctx, const std::string &path)

Load a directory of PNG images and upload them to the GPU (suitable for use with ImagePanel)