MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / updateGameEntities

Method updateGameEntities

Samples/2.0/Common/src/GraphicsSystem.cpp:1033–1042  ·  view source on GitHub ↗

-----------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1031 }
1032 //-----------------------------------------------------------------------------------
1033 void GraphicsSystem::updateGameEntities( const GameEntityVec &gameEntities, float weight )
1034 {
1035 mThreadGameEntityToUpdate = &gameEntities;
1036 mThreadWeight = weight;
1037
1038 // Note: You could execute a non-blocking scalable task and do something else, you should
1039 // wait for the task to finish right before calling renderOneFrame or before trying to
1040 // execute another UserScalableTask (you would have to be careful, but it could work).
1041 mSceneManager->executeUserScalableTask( this, true );
1042 }
1043 //-----------------------------------------------------------------------------------
1044 void GraphicsSystem::execute( size_t threadId, size_t numThreads )
1045 {

Callers 1

updateMethod · 0.80

Calls 1

Tested by

no test coverage detected