summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-25 22:46:51 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-10 00:04:23 -0400
commit4708385f696d2e47d24e795f210752f4b0224bff (patch)
treeae05507d2510737538303d826f0eb4cbc47d2132 /docs
parenta546fd113f431bd8888da50aad087213193c937e (diff)
downloadSMAPI-4708385f696d2e47d24e795f210752f4b0224bff.tar.gz
SMAPI-4708385f696d2e47d24e795f210752f4b0224bff.tar.bz2
SMAPI-4708385f696d2e47d24e795f210752f4b0224bff.zip
add IRawTextureData asset type
Diffstat (limited to 'docs')
-rw-r--r--docs/release-notes.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index a1b5222e..b22f4de9 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -5,6 +5,9 @@
* 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._
+* 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._
* For mod authors:
* Fixed map edits which change warps sometimes rebuilding the NPC pathfinding cache unnecessarily, which could cause a noticeable delay for players.