Facepunch.Steamworks Wiki

Revision Difference

SteamScreenshots.WriteScreenshot#519880

<member type="method" namespace="Steamworks" parent="SteamScreenshots" name="WriteScreenshot" static="true"> <args> <arg name="data" type="byte[]"></arg> <arg name="width" type="int"></arg> <arg name="height" type="int"></arg> </args> <return type="Nullable<Steamworks.Data.Screenshot>"></return> <return type="Nullable<Data.Screenshot>"></return> <summary>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.</summary> </member>