ui_r_texturemode

Base Jedi Academy

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Engine-managed. The game maintains this value itself, so it is not a setting to change by hand: it is read-only after registration (CVAR_ROM); it is internal UI/engine state, hidden from every cvar listing (CVAR_INTERNAL); it is the menu's staging copy of r_textureMode, which the menu writes through when the change is applied and reads back when it is opened.

Controls ui_r_texturemode in the ui module. Consult the cited behavior reads before relying on values not listed here.

At a glance

Field Value
Default 0
Value type int
Restart No latch flag is registered.
Manually settable No; the game writes this value.
Cheat protected No
Staging copy of r_textureMode; written through, read back
Network scope client-only: Local to the client/UI/renderer.
Category Graphics & rendering
Module ui
Renderer All / not renderer-specific
Derivation code-trace
Confidence high
Added 2013-04-08 in 14cea1563 (how to compare this against your build)
In-game xdocs No
In-game menu Yes: ingame_setup.menu:1412, ingame_setup.menu:2296, setup.menu:1285

Values

No discrete value list is enforced or documented in the inspected source.

Flags

Provenance

Origin: Base Jedi Academy

Later changes

These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.

Date Change source Commit / subject Evidence Confidence
2013-08-11 OpenJK 794718e3fdfb
Merge pull request #344 from Razish/qvmtest
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/ui/ui_main.c medium
2015-06-17 EternalJK d93386f34b71
Major ingame setup menu overhaul.
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/ui/ui_main.c medium
2015-11-24 EternalJK c8f6ea17a324
Remove SP code
Changed registration, default, flags, module, renderer scope, handler, or gating. code/ui/ui_main.cpp medium

Evidence

Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.