[All] add cl_no_texture_stream to toggle texture streaming without needing to add -no_texture_stream to launch options #1491
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Closes ValveSoftware/Source-1-Games#4884*
Since the Tough Break update in 2015, Source 2013 got texture streaming, which aims to improve performance when loading certain textures in. However, this causes some issues:
-no_texture_stream is the primary option to disable this feature, however it isn't in ConVar form. I added cl_no_texture_stream to add this option automatically on bootup before the client dll loads other modules, enabling users to toggle this setting without messing around with launch options.
*However, this isn't a replacement for -no_texture_stream, as it requires a restart when enabling it. Adding a ConVar that toggles texture steaming dynamically is the best option, but requires access to the materialsystem module code to do so. This implementation is the best possible way to implement this kind of option with the SDK codebase.
This also improves the formatting of other ConVars in the cdll_client_int file.