| 655 | } |
| 656 | |
| 657 | void RenderProbeMgr::bakeProbes() |
| 658 | { |
| 659 | Vector<ReflectionProbe*> probes; |
| 660 | |
| 661 | Scene::getRootScene()->findObjectByType<ReflectionProbe>(probes); |
| 662 | |
| 663 | for (U32 i = 0; i < probes.size(); i++) |
| 664 | { |
| 665 | if (probes[i]->isClientObject()) |
| 666 | continue; |
| 667 | |
| 668 | bakeProbe(probes[i]); |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | //============================================================================= |
| 673 | // Forward Rendering functions |
no test coverage detected