<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsBlurBoxGetTexture?action=history&amp;feed=atom</id>
	<title>DgsBlurBoxGetTexture - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsBlurBoxGetTexture?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsBlurBoxGetTexture&amp;action=history"/>
	<updated>2026-05-05T21:15:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsBlurBoxGetTexture&amp;diff=69610&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}}  This function gets the texture that is used in blur box.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; texture dgsBlurBoxGetTexture( element blurbo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsBlurBoxGetTexture&amp;diff=69610&amp;oldid=prev"/>
		<updated>2021-03-08T06:48:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}}  This function gets the texture that is used in blur box.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; texture dgsBlurBoxGetTexture( element blurbo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
This function gets the texture that is used in blur box.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
texture dgsBlurBoxGetTexture( element blurbox )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''blurbox:''' A dgs blur box element.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''texture'' there is a texture used in blur box, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs --get exported functions from dgs&lt;br /&gt;
&lt;br /&gt;
local blurbox = dgsCreateBlurBox(128, 128) -- Create a blur Box&lt;br /&gt;
local blurArea = dgsCreateImage(200,200,128,128,blurbox,false) -- Blur Box Renderer&lt;br /&gt;
DGS:dgsBlurBoxSetTexture(blurbox,dxCreateTexture(&amp;quot;example.png&amp;quot;))  --Set texture&lt;br /&gt;
setTimer(function()&lt;br /&gt;
	local texture = DGS:dgsBlurBoxGetTexture(blurbox)  --Get texture&lt;br /&gt;
	destroyElement(texture) --Release&lt;br /&gt;
	DGS:dgsBlurBoxSetTexture(blurbox)  --Remove&lt;br /&gt;
end,5000,1)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>