API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Utils
ScreenshotTaker.h
1
// ScreenshotTaker.h
3
//
5
6
namespace
nkGraphics
7
{
11
class
ScreenshotTaker
final
12
{
13
14
public :
15
23
static
nkImages::Image
getScreenPixels
(System* system) ;
30
static
nkImages::Image
getScreenPixels
(
RenderContext
* context) ;
31
} ;
32
}
nkGraphics::RenderContext
A rendering context, attached to a window or an offscreen texture.
Definition:
RenderContext.h:14
nkGraphics::ScreenshotTaker::getScreenPixels
static nkImages::Image getScreenPixels(RenderContext *context)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition:
BoundingBox.h:7
nkGraphics::ScreenshotTaker::getScreenPixels
static nkImages::Image getScreenPixels(System *system)
nkImages::Image
Holds all information required for an image, with ownership over the data.
Definition:
Image.h:14
nkGraphics::ScreenshotTaker
Utility class helping to isolate data from a render context.
Definition:
ScreenshotTaker.h:12
Generated by
Doxygen
1.8.18