OnDeviceCreate

From Multi Theft Auto: Wiki

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