mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Add option to make y-flipping a per-texture state instead of global
This commit is contained in:
@@ -284,6 +284,8 @@ DECLARE_REFLECTION_STRUCT(BugReport);
|
||||
\
|
||||
CONFIG_SETTING_VAL(public, bool, bool, TextureViewer_PerTexSettings, true) \
|
||||
\
|
||||
CONFIG_SETTING_VAL(public, bool, bool, TextureViewer_PerTexYFlip, false) \
|
||||
\
|
||||
CONFIG_SETTING_VAL(public, bool, bool, ShaderViewer_FriendlyNaming, true) \
|
||||
\
|
||||
CONFIG_SETTING_VAL(public, bool, bool, AlwaysReplayLocally, false) \
|
||||
@@ -480,6 +482,15 @@ For more information about some of these settings that are user-facing see
|
||||
|
||||
Defaults to ``True``.
|
||||
|
||||
.. data:: TextureViewer_PerTexYFlip
|
||||
|
||||
``True`` if the :class:`TextureViewer` should treat y-flipping as a per-texture state rather than
|
||||
a global toggle.
|
||||
|
||||
Does nothing if per-texture settings are disabled in general.
|
||||
|
||||
Defaults to ``False``.
|
||||
|
||||
.. data:: ShaderViewer_FriendlyNaming
|
||||
|
||||
``True`` if the :class:`ShaderViewer` should replace register names with the high-level language
|
||||
|
||||
Reference in New Issue
Block a user