requestScreenshot

fnvoid requestScreenshot(bool isUsingLockedResolution = false, bool hasAlpha = false, IStr file = __FILE__, Sz line = __LINE__) @safe nothrow @nogc

Takes a screenshot and creates a texture from it that can be used with the getRequestedScreenshot function.