From 3513130b8d3086332128f376d39789acd6323815 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 27 Nov 2024 17:59:28 +1000 Subject: [PATCH] Updated Texture Replacement (markdown) --- Texture-Replacement.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Texture-Replacement.md b/Texture-Replacement.md index dbf8627..130d097 100644 --- a/Texture-Replacement.md +++ b/Texture-Replacement.md @@ -65,6 +65,15 @@ Determines the minimum size of a texture that will be dumped. Textures with a si ### DumpVRAMWriteWidthThreshold / DumpVRAMWriteHeightThreshold Determines the minimum size of a VRAM write that will be dumped, in background dumping mode. Uploads smaller than this size will be ignored. +### MaxHashCacheEntries +Sets the maximum size of the hash cache that manages texture replacements. Generally the default is sufficient, but some games may require increasing the size. Do not set too high, otherwise mobile drivers will break because they're silly and abort() the program if you create too many texture objects... + +### MaxHashCacheVRAMUsageMB +Sets the maximum amount of VRAM in megabytes that the hash cache can utilize. Keep in mind your target system requirements, using too much VRAM will result in swapping and significantly decreased performance. + +### MaxReplacementCacheVRAMUsage +Sets the maximum amount of VRAM in megabytes that are reserved for the cache of replacement textures. The cache usage for any given texture is approximately the same size as the uncompressed source image on disk. + ### ReplacementScaleLinearFilter Enables the use of a bilinear filter when scaling replacement textures. If more than one replacement texture in a 256x256 texture page has a different scaling over the native resolution, or the texture page is not covered, a bilinear filter will be used to resize/stretch the replacement texture, and/or the original native data.