-----------------------------------------------------------------------------------
| 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 | { |
no test coverage detected