| 98 | //----------------------------------------------------------------------------- |
| 99 | |
| 100 | void SceneRenderState::renderObjects( SceneObject** objects, U32 numObjects ) |
| 101 | { |
| 102 | // Let the objects batch their stuff. |
| 103 | |
| 104 | PROFILE_START( SceneRenderState_prepRenderImages ); |
| 105 | for( U32 i = 0; i < numObjects; ++ i ) |
| 106 | { |
| 107 | SceneObject* object = objects[ i ]; |
| 108 | object->prepRenderImage( this ); |
| 109 | } |
| 110 | |
| 111 | PROFILE_END(); |
| 112 | |
| 113 | // Render what the objects have batched. |
| 114 | |
| 115 | getRenderPass()->renderPass( this ); |
| 116 | } |
no test coverage detected