<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Castro+da+Silva</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Castro+da+Silva"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Castro_da_Silva"/>
	<updated>2026-05-24T01:52:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGetStatus&amp;diff=38923</id>
		<title>DxGetStatus</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetStatus&amp;diff=38923"/>
		<updated>2014-02-21T14:58:54Z</updated>

		<summary type="html">&lt;p&gt;Castro da Silva: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function gets information about various internal datum&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table dxGetStatus ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a table with the following entries:&lt;br /&gt;
* '''TestMode :''' The current dx test mode. See [[dxSetTestMode]].&lt;br /&gt;
*'''VideoCardName :''' The name of the graphics card.&lt;br /&gt;
*'''VideoCardRAM :''' The installed memory in MB of the graphics card.&lt;br /&gt;
*'''VideoCardPSVersion :''' The maximum pixel shader version of the graphics card.&lt;br /&gt;
*'''VideoMemoryFreeForMTA :''' The amount of memory in MB available for MTA to use. '''When this gets to zero, [[guiCreateFont]], [[dxCreateFont]] and [[dxCreateRenderTarget]] will fail.'''&lt;br /&gt;
*'''VideoMemoryUsedByFonts :''' The amount of graphic memory in MB used by custom fonts.&lt;br /&gt;
*'''VideoMemoryUsedByTextures :''' The amount of graphic memory in MB used by textures.&lt;br /&gt;
*'''VideoMemoryUsedByRenderTargets :''' The amount of graphic memory in MB used by render targets.&lt;br /&gt;
*'''SettingWindowed :''' The windowed setting. (true/false)&lt;br /&gt;
*'''SettingFXQuality :''' The FX Quality. (0-3)&lt;br /&gt;
*'''SettingDrawDistance :''' The draw distance setting. (0-100)&lt;br /&gt;
*'''SettingVolumetricShadows :''' The volumetric shadows setting. (true/false)&lt;br /&gt;
*'''SettingStreamingVideoMemoryForGTA :''' The usable graphics memory setting. (64-256)&lt;br /&gt;
*'''AllowScreenUpload :''' The allows screen uploads setting. (true/false)&lt;br /&gt;
*'''DepthBufferFormat:''' The format of the shader readable depth buffer, or 'unknown' if not available&lt;br /&gt;
*'''VideoCardMaxAnisotropy:''' The maximum anisotropic filtering available. (0-4 which respectively mean: off,2x,4x,8x,16x)&lt;br /&gt;
*'''SettingAnisotropicFiltering:''' The anisotropic filtering setting. (0-4 which respectively mean: off,2x,4x,8x,16x)&lt;br /&gt;
*'''SettingAntiAliasing:''' The anti-aliasing setting. (0-3 which respectively mean: off,1x,2x,3x)&lt;br /&gt;
*'''SettingHeatHaze:''' The heat haze setting. (true/false)&lt;br /&gt;
*'''SettingGrassEffect:''' The grass effect setting. (true/false)&lt;br /&gt;
*'''Setting32BitColor:''' The color depth of the screen. (false is 16bit, true is 32bit)&lt;br /&gt;
{{New feature/item|3.0134|1.3.4|5731|&lt;br /&gt;
*'''SettingHUDMatchAspectRatio:''' The hud match aspect ratio setting (true/false)&lt;br /&gt;
*'''SettingAspectRatio:''' The aspect ratio setting (&amp;quot;auto&amp;quot;, &amp;quot;4:3&amp;quot;, &amp;quot;16:10&amp;quot;, &amp;quot;16:9&amp;quot;)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler ( &amp;quot;getinfo&amp;quot;,&lt;br /&gt;
	function ( )&lt;br /&gt;
		local info = dxGetStatus ( )&lt;br /&gt;
		for k, v in pairs ( info ) do&lt;br /&gt;
			outputChatBox ( k .. &amp;quot; : &amp;quot; .. tostring ( v ) )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.04715|Added DepthBufferFormat argument}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.04811|Added VideoCardMaxAnisotropy, SettingAnisotropicFiltering, SettingAntiAliasing,&amp;lt;br/&amp;gt; SettingHeatHaze, SettingGrassEffect and Setting32BitColor arguments}}&lt;br /&gt;
{{ChangelogItem|1.3.4-9.05731|Added SettingHUDMatchAspectRatio and SettingAspectRatio}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>Castro da Silva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGetStatus&amp;diff=38922</id>
		<title>DxGetStatus</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetStatus&amp;diff=38922"/>
		<updated>2014-02-21T14:58:10Z</updated>

		<summary type="html">&lt;p&gt;Castro da Silva: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function gets information about various internal datum&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table dxGetStatus ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a table with the following entries:&lt;br /&gt;
* '''TestMode :''' The current dx test mode. See [[dxSetTestMode]].&lt;br /&gt;
*'''VideoCardName :''' The name of the graphics card.&lt;br /&gt;
*'''VideoCardRAM :''' The installed memory in MB of the graphics card.&lt;br /&gt;
*'''VideoCardPSVersion :''' The maximum pixel shader version of the graphics card.&lt;br /&gt;
*'''VideoMemoryFreeForMTA :''' The amount of memory in MB available for MTA to use. '''When this gets to zero, [[guiCreateFont]], [[dxCreateFont]] and [[dxCreateRenderTarget]] will fail.'''&lt;br /&gt;
*'''VideoMemoryUsedByFonts :''' The amount of graphic memory in MB used by custom fonts.&lt;br /&gt;
*'''VideoMemoryUsedByTextures :''' The amount of graphic memory in MB used by textures.&lt;br /&gt;
*'''VideoMemoryUsedByRenderTargets :''' The amount of graphic memory in MB used by render targets.&lt;br /&gt;
*'''SettingWindowed :''' The windowed setting. (true/false)&lt;br /&gt;
*'''SettingFXQuality :''' The FX Quality. (0-3)&lt;br /&gt;
*'''SettingDrawDistance :''' The draw distance setting. (0-100)&lt;br /&gt;
*'''SettingVolumetricShadows :''' The volumetric shadows setting. (true/false)&lt;br /&gt;
*'''SettingStreamingVideoMemoryForGTA :''' The usable graphics memory setting. (64-256)&lt;br /&gt;
*'''AllowScreenUpload :''' The allows screen uploads setting. (true/false)&lt;br /&gt;
*'''DepthBufferFormat:''' The format of the shader readable depth buffer, or 'unknown' if not available&lt;br /&gt;
*'''VideoCardMaxAnisotropy:''' The maximum anisotropic filtering available. (0-4 which respectively mean: off,2x,4x,8x,16x)&lt;br /&gt;
*'''SettingAnisotropicFiltering:''' The anisotropic filtering setting. (0-4 which respectively mean: off,2x,4x,8x,16x)&lt;br /&gt;
*'''SettingAntiAliasing:''' The anti-aliasing setting. (0-3 which respectively mean: off,1x,2x,3x)&lt;br /&gt;
*'''SettingHeatHaze:''' The heat haze setting. (true/false)&lt;br /&gt;
*'''SettingGrassEffect:''' The grass effect setting. (true/false)&lt;br /&gt;
*'''Setting32BitColor:''' The color depth of the screen. (false is 16bit, true is 32bit)&lt;br /&gt;
{{New feature/item|3.0134|1.3.4|5731|&lt;br /&gt;
*'''SettingHUDMatchAspectRatio:''' The hud match aspect ratio setting (true/false)&lt;br /&gt;
*'''SettingAspectRatio:''' The aspect ratio setting (&amp;quot;auto&amp;quot;, &amp;quot;4:3&amp;quot;, &amp;quot;16:10&amp;quot;, &amp;quot;16:9&amp;quot;)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler ( &amp;quot;getinfo&amp;quot;,&lt;br /&gt;
	function ( )&lt;br /&gt;
		local info = dxGetStatus()&lt;br /&gt;
		for k, v in pairs ( info ) do&lt;br /&gt;
			outputChatBox ( k .. &amp;quot; : &amp;quot; .. tostring ( v ) )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.04715|Added DepthBufferFormat argument}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.04811|Added VideoCardMaxAnisotropy, SettingAnisotropicFiltering, SettingAntiAliasing,&amp;lt;br/&amp;gt; SettingHeatHaze, SettingGrassEffect and Setting32BitColor arguments}}&lt;br /&gt;
{{ChangelogItem|1.3.4-9.05731|Added SettingHUDMatchAspectRatio and SettingAspectRatio}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>Castro da Silva</name></author>
	</entry>
</feed>