diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-26 00:51:11 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-10 00:04:23 -0400 |
commit | 769475166ab3b92cd3763bb86e364a8b2c7d914f (patch) | |
tree | 1f9121b94a2051c61f875e9d6993ff624fa2e7ea /docs/release-notes.md | |
parent | 4708385f696d2e47d24e795f210752f4b0224bff (diff) | |
download | SMAPI-769475166ab3b92cd3763bb86e364a8b2c7d914f.tar.gz SMAPI-769475166ab3b92cd3763bb86e364a8b2c7d914f.tar.bz2 SMAPI-769475166ab3b92cd3763bb86e364a8b2c7d914f.zip |
enable raw image loading by default, rename setting
Diffstat (limited to 'docs/release-notes.md')
-rw-r--r-- | docs/release-notes.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index b22f4de9..7fff656a 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -3,11 +3,10 @@ # Release notes ## Upcoming release * For players: - * Added experimental image load rewrite (disabled by default). - _If you have many content mods installed, enabling `UseExperimentalImageLoading` in `smapi-internal/config.json` may reduce load times or stutters when they load many image files at once._ + * Optimized mod image file loading. * For mod authors: - * Added specialized `IRawTextureData` asset type. - _When you're only loading a mod file to patch it into an asset, you can now load it using `helper.ModContent.Load<IRawTextureData>(path)`. This reads the image data from disk without initializing a `Texture2D` instance through the GPU. You can then pass this to SMAPI APIs that accept `Texture2D` instances._ + * Added a new `IRawTextureData` asset type. + _You can now load image files through `helper.ModContent` as `IRawTextureData` instead of `Texture2D`. This provides the image size and raw pixel data, which you can pass into other SMAPI APIs like `asset.AsImage().PatchImage`. This is much more efficient when you don't need a full `Texture2D` instance, since it bypasses the GPU operations needed to create one._ * For mod authors: * Fixed map edits which change warps sometimes rebuilding the NPC pathfinding cache unnecessarily, which could cause a noticeable delay for players. |