ScreenshotRequest

class ScreenshotRequest

Bases: AsyncFuture

A class representing an asynchronous request to save a screenshot.

Inheritance diagram

Inheritance diagram of ScreenshotRequest

void add_output_file(Filename const &filename, std::string image_comment = "")

Adds a filename to write the screenshot to when it is available. If the request is already done, performs the write synchronously.

static TypeHandle get_class_type(void)