libigl v2.5.0
|
Functions | |
bool | render_to_file (const std::string filename, const int width, const int height, const bool alpha=true) |
Render current open GL image to an image file. | |
std::thread | render_to_file_async (const std::string filename, const int width, const int height, const bool alpha=true) |
Render current open GL image to file using a separate thread. | |
bool igl::opengl::stb::render_to_file | ( | const std::string | filename, |
const int | width, | ||
const int | height, | ||
const bool | alpha = true |
||
) |
Render current open GL image to an image file.
[in] | filename | path to output file |
[in] | width | width of scene and resulting image |
[in] | height | height of scene and resulting image |
[in] | alpha | whether to include alpha channel |
std::thread igl::opengl::stb::render_to_file_async | ( | const std::string | filename, |
const int | width, | ||
const int | height, | ||
const bool | alpha = true |
||
) |
Render current open GL image to file using a separate thread.
[in] | filename | path to output image file |
[in] | width | width of scene and resulting image |
[in] | height | height of scene and resulting image |
[in] | alpha | whether to include alpha channel |