| 291 | } |
| 292 | |
| 293 | void BakedReflectionsData::setHasParametric(bool hasParametric) |
| 294 | { |
| 295 | if (!mHasParametric && hasParametric) |
| 296 | { |
| 297 | mReverbs.resize(mNeedsUpdate.size()); |
| 298 | |
| 299 | for (auto i = 0u; i < mNeedsUpdate.size(); ++i) |
| 300 | { |
| 301 | mNeedsUpdate[i] = true; |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | mHasParametric = hasParametric; |
| 306 | } |
| 307 | |
| 308 | bool BakedReflectionsData::needsUpdate(int index) const |
| 309 | { |