GLUS
Functions
glus_screenshot.h File Reference

Go to the source code of this file.

Functions

GLUSAPI GLUSboolean GLUSAPIENTRY glusScreenshotUseTga (GLUSint x, GLUSint y, const GLUStgaimage *screenshot)
 Creates a screenshot of the current back buffer and uses the given image and its dimension. More...
 
GLUSAPI GLUSboolean GLUSAPIENTRY glusScreenshotCreateTga (GLUSint x, GLUSint y, GLUSsizei width, GLUSsizei height, GLUStgaimage *screenshot)
 Creates a screenshot of the current back buffer and creates the image automatically. More...
 

Function Documentation

GLUSAPI GLUSboolean GLUSAPIENTRY glusScreenshotCreateTga ( GLUSint  x,
GLUSint  y,
GLUSsizei  width,
GLUSsizei  height,
GLUStgaimage screenshot 
)

Creates a screenshot of the current back buffer and creates the image automatically.

Parameters
xThe lower left x coordinate from the screenshot rectangle.
yThe lower left y coordinate from the screenshot rectangle.
widthThe width of the screenshot rectangle.
heightThe height of the screenshot rectangle.
screenshotThe image structure to store the pixel data.
GLUSAPI GLUSboolean GLUSAPIENTRY glusScreenshotUseTga ( GLUSint  x,
GLUSint  y,
const GLUStgaimage screenshot 
)

Creates a screenshot of the current back buffer and uses the given image and its dimension.

Parameters
xThe lower left x coordinate from the screenshot rectangle.
yThe lower left y coordinate from the screenshot rectangle.
screenshotThe image structure to store the pixel data.