Ejemplo n.º 1
0
        /// <summary>This will save the current texture state with the specified save name.</summary>
        public void Save(string saveName)
        {
            if (activated == true)
            {
                var readableTexture = P3dHelper.GetReadableCopy(current);

                P3dHelper.SavePngTextureData(readableTexture.EncodeToPNG(), saveName);

                P3dHelper.Destroy(readableTexture);
            }
        }