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.
public static ScreenshotHandle WriteScreenshot(byte[] pubRGB, uint cubRGB, int nWidth, int nHeight) { InteropHelp.TestIfAvailableClient(); return (ScreenshotHandle)NativeMethods.ISteamScreenshots_WriteScreenshot(pubRGB, cubRGB, nWidth, nHeight); }