Template:KV DXLevelChoice: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-order)
(-expand choices)
Line 5: Line 5:
== Tests ==
== Tests ==
{{KV|start}}
{{KV|start}}
{{KV DXLevelChoice|new=1}}
{{KV DXLevelChoice|new=1}} <!-- ugly -->
{{KV|end}}
{{KV|end}}


Line 22: Line 22:
|removed={{l4d}}
|removed={{l4d}}
}}
}}
|}}<!--
|}}{{#if:{{{new|}}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
==================================================================
DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED:
==================================================================
 
-->{{#if:{{{new|}}}
|
|
| {{minititle|DXLevelChoice}}
| {{minititle|DXLevelChoice}}
Line 52: Line 28:
{{KV|Maximum DX Level|intn=maxdxlevel|choices|The entity will not exist if the engine is running outside the given range of [[DirectX Versions]].
{{KV|Maximum DX Level|intn=maxdxlevel|choices|The entity will not exist if the engine is running outside the given range of [[DirectX Versions]].
:{{warning|If these are used, the object may break when the user switches their DirectX settings.}}
:{{warning|If these are used, the object may break when the user switches their DirectX settings.}}
{{Expand|title=Choices|margin_left=2em|
:*Default (no bounding)
:*Default (no bounding)
:*[[DirectX_Versions#DirectX_7|DX7]]
:*[[DirectX_Versions#DirectX_7|DX7]]
Line 57: Line 34:
:*[[DirectX_Versions#DirectX_8.1|DX8.1]]
:*[[DirectX_Versions#DirectX_8.1|DX8.1]]
:*[[DirectX_Versions#DirectX_9_.28Shader_Model_2.29|DX9 SM2]]
:*[[DirectX_Versions#DirectX_9_.28Shader_Model_2.29|DX9 SM2]]
:*[[DirectX_Versions#DX9_Shader_Model_3|DX9 SM3]]
:*[[DirectX_Versions#DX9_Shader_Model_3|DX9 SM3]]}}
|removed={{l4d}}
|removed={{l4d}}
}}
}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Revision as of 02:28, 10 February 2024


DXLevelChoice:

Minimum DX Level (mindxlevel) <choices> (removed since Left 4 Dead)
Maximum DX Level (maxdxlevel) <choices> (removed since Left 4 Dead)
The entity will not exist if the engine is running outside the given range of DirectX Versions.
Warning.pngWarning:If these are used, the object may break when the user switches their DirectX settings.
Choices

Tests

start ([todo internal name (i)])
{{{1}}} ([todo internal name (i)])
mindxlevel ([todo internal name (i)]) <choices> (removed since Left 4 Dead)
Minimum DX Level
maxdxlevel ([todo internal name (i)]) <choices> (removed since Left 4 Dead)
Maximum DX Level
end ([todo internal name (i)])