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

Page Links


Special Pages


Wikis

?

Render Time: 20ms

Session 0
DB GetPage 3
Generate Html 0
SaveChanges 13
Render Body 0
Render Sidebar 1