Magnum/DebugTools/Screenshot.h file

Function Magnum::DebugTools::screenshot()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::DebugTools
Debug tools.

Functions

auto screenshot(GL::AbstractFramebuffer& framebuffer, const std::string& filename) -> bool
Save a screenshot to a file.
auto screenshot(GL::AbstractFramebuffer& framebuffer, PixelFormat format, const std::string& filename) -> bool
Save a screenshot in requested pixel format to a file.