OnDeviceCreate

From Multi Theft Auto: Wiki
Revision as of 13:09, 14 May 2017 by Xtravax (talk | contribs) (Created page with "<pageclass subcaption="C++ Function"></pageclass> This C++ Function is found inside of CAdditionalVertexStreamManager. It's used as an event when an IDirect3DDevice9 ins...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This C++ Function is found inside of CAdditionalVertexStreamManager.

It's used as an event when an IDirect3DDevice9 instance is created (?).

It can be found in Client/Client Core/Sources/CAdditionalVertexStreamManager.cpp in Visual Studio.

Required Arguments

  • pDevice: To be defined.

Code

void CAdditionalVertexStreamManager::OnDeviceCreate ( IDirect3DDevice9* pDevice )
{
    m_pDevice = pDevice;
}

See Also