MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / setHasParametric

Method setHasParametric

core/src/core/baked_reflection_data.cpp:293–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void 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
308bool BakedReflectionsData::needsUpdate(int index) const
309{

Callers 1

bakeMethod · 0.80

Calls 2

resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected