Steamworks.SteamScreenshots.WriteScreenshot C# (CSharp) Méthode

WriteScreenshot() public static méthode

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