Views
love.graphics.newScreenshot
Creates a screenshot and returns the image data.
![]() | This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! |
Function
Synopsis
screenshot = love.graphics.newScreenshot( )
Arguments
None.
Returns
ImageData screenshot
- The image data of the screenshot
See Also