mirror of https://github.com/mosra/magnum.git
Browse Source
In some cases it's needed to release (or copy) the data first and only then access the field properties through the SceneData to (optionally) re-route the field views to a new data location. But since releaseData() was implicitly erasing field data as well, this wasn't possible and the only other option was to release the field data first and then access them through the low-level SceneFieldData API with all convenience lost. This makes the release*Data() APIs a bit dangerous to use, but that should be fine -- those aren't meant to be used by regular code anyway. Similar caveat is with MaterialData already.pull/620/head
3 changed files with 15 additions and 12 deletions
Loading…
Reference in new issue