| 96 | } |
| 97 | private: |
| 98 | void setup() |
| 99 | { |
| 100 | for (auto i = 0u; i < _resourceCount; i++) { |
| 101 | auto index = i % _resourceList.size(); |
| 102 | _renderers.push_back(std::make_unique<Renderer>(_resourceList[index])); |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | void benchmark(bool async) |
| 107 | { |