<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/MaybeUnsetAdditionalVertexStream?action=history&amp;feed=atom</id>
	<title>MaybeUnsetAdditionalVertexStream - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/MaybeUnsetAdditionalVertexStream?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MaybeUnsetAdditionalVertexStream&amp;action=history"/>
	<updated>2026-06-03T06:28:23Z</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=MaybeUnsetAdditionalVertexStream&amp;diff=50995&amp;oldid=prev</id>
		<title>Xtravax: Created page with &quot;&lt;pageclass subcaption=&quot;C++ Function&quot;&gt;&lt;/pageclass&gt;  This C++ Function is found inside of CAdditionalVertexStreamManager.  It maybe unsets additional vertex stream.  It can...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MaybeUnsetAdditionalVertexStream&amp;diff=50995&amp;oldid=prev"/>
		<updated>2017-05-14T13:27:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pageclass subcaption=&amp;quot;C++ Function&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;  This C++ Function is found inside of &lt;a href=&quot;/wiki/CAdditionalVertexStreamManager&quot; title=&quot;CAdditionalVertexStreamManager&quot;&gt;CAdditionalVertexStreamManager&lt;/a&gt;.  It maybe unsets additional vertex stream.  It can...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pageclass subcaption=&amp;quot;C++ Function&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This C++ Function is found inside of [[CAdditionalVertexStreamManager]].&lt;br /&gt;
&lt;br /&gt;
It maybe unsets additional vertex stream.&lt;br /&gt;
&lt;br /&gt;
It can be found in '''Client/Client Core/Sources/CAdditionalVertexStreamManager.cpp''' in Visual Studio.&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c++&amp;quot;&amp;gt;&lt;br /&gt;
void CAdditionalVertexStreamManager::MaybeUnsetAdditionalVertexStream ( void )&lt;br /&gt;
{&lt;br /&gt;
    HRESULT hr;&lt;br /&gt;
    if ( m_pOldVertexDeclaration )&lt;br /&gt;
    {&lt;br /&gt;
        // Set prev declaration&lt;br /&gt;
        hr = g_pProxyDevice-&amp;gt;SetVertexDeclaration ( m_pOldVertexDeclaration );&lt;br /&gt;
        SAFE_RELEASE( m_pOldVertexDeclaration );&lt;br /&gt;
&lt;br /&gt;
        // Unset additional stream&lt;br /&gt;
        hr = m_pDevice-&amp;gt;SetStreamSource ( 2, NULL, 0, 0 );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[CAdditionalVertexStreamManager]]&lt;/div&gt;</summary>
		<author><name>Xtravax</name></author>
	</entry>
</feed>