Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SaveAsPng()

void Microsoft.Xna.Framework.Graphics.Texture2D.SaveAsPng ( Stream stream,
int width,
int height )
inline

Definition at line 181 of file Texture2D.cs.

182 {
183 SaveAsImage(stream, (SharedConstants.XnaImageFormat)2, width, height);
184 }
void SaveAsImage(Stream stream, SharedConstants.XnaImageFormat __unnamed001, int width, int height)
Definition Texture2D.cs:446

References Microsoft.Xna.Framework.Graphics.Texture2D.SaveAsImage(), and System.stream.