Facepunch.Steamworks Wiki

Steamworks.SteamScreenshots.WriteScreenshot

Syntax

static Data.Screenshot? WriteScreenshot( byte[] data, int width, int height )

Description

Writes a screenshot to the user's screenshot library given the raw image data, which must be in RGB format. The return value is a handle that is valid for the duration of the game process and can be used to apply tags.

Arguments

byte[] data
int width
int height

Returns