Template:KV DXLevelChoice: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-c̶o̸m̸p̴r̴e̶s̵s̵)
(add dx6 and togl levels; clean up syntax to clarify actual values and not only smartedit ones)
Line 28: Line 28:
{{Expand|title=Choices|margin_left=2em|
{{Expand|title=Choices|margin_left=2em|
{{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.}}
:*Default (no bounding)
:* 0 - Default (no bounding)
:*[[DirectX_Versions#DirectX_7|DX7]]
:* [[DirectX_Versions#DirectX_6|60 - DirectX 6]] ({{!fgd}} for {{mono|mindxlevel}})
:*[[DirectX_Versions#DirectX_8.0|DX8]]
:* [[DirectX_Versions#DirectX_7|70 - DirectX 7]]
:*[[DirectX_Versions#DirectX_8.1|DX8.1]]
:* [[DirectX_Versions#DirectX_8.0|80 - DirectX 8]] (Geforce4 Ti 4600) <!-- from fgd -->
:*[[DirectX_Versions#DirectX_9_.28Shader_Model_2.29|DX9 SM2]]
:* [[DirectX_Versions#DirectX_8.1|81 - DirectX 8.1]] (GeForce FX 5200) <!-- from fgd -->
:*[[DirectX_Versions#DX9_Shader_Model_3|DX9 SM3]]}}
:* [[DirectX_Versions#DirectX_9_.28Shader_Model_2.29|90 - DirectX 9 Shader Model 2]]
:* [[OpenGL#Dxlevel_92|92 - OpenGL equivalent to DirectX 9 Shader Model 2]] (using [[ToGL]]; {{Linux}}{{MacOS}} only) {{!fgd}}
:* [[DirectX_Versions#DX9_Shader_Model_3|95 - DirectX 9 Shader Model 3]]
:* [[OpenGL#Dxlevel_92|97 - OpenGL equivalent to DirectX 9 Shader Model 3]] (using [[ToGL]]; {{Linux}}{{MacOS}} only) {{!fgd}}
}}
|removed={{l4d}}
|removed={{l4d}}
}}
}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Revision as of 03:49, 16 April 2024


DXLevelChoice:

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

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)])