GetSingleton

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This C++ function is found inside of CAdditionalVertexStreamManager.

It returns an instance of CAdditionalVertexStreamManager.

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

Returns

Returns an instance of CAdditionalVertexStreamManager.

Code

CAdditionalVertexStreamManager* CAdditionalVertexStreamManager::GetSingleton ( void )
{
    if ( !ms_Singleton )
        ms_Singleton = new CAdditionalVertexStreamManager ();
    return ms_Singleton;
}

See Also