API Documentation
Static Public Member Functions | List of all members
nkGraphics::ScreenshotTaker Class Referencefinal

Utility class helping to isolate data from a render context. More...

Static Public Member Functions

static nkImages::Image getScreenPixels (System *system)
 
static nkImages::Image getScreenPixels (RenderContext *context)
 

Detailed Description

Utility class helping to isolate data from a render context.

Member Function Documentation

◆ getScreenPixels() [1/2]

static nkImages::Image nkGraphics::ScreenshotTaker::getScreenPixels ( System system)
static

Retrieves the currently displayed image within the system. This takes the active render context at call time.

Parameters
systemThe system to retrieve the active pixels from.
Returns
The data requested.

◆ getScreenPixels() [2/2]

static nkImages::Image nkGraphics::ScreenshotTaker::getScreenPixels ( RenderContext context)
static

Retrieves the currently displayed image within a context.

Parameters
contextThe context whose image should be retrieved.
Returns
The data requested.

The documentation for this class was generated from the following file: