mirror of https://github.com/mosra/magnum.git
Browse Source
With the upcoming string field support, field<UnsignedShort>() will be allowed to peek into SceneFieldType::UnsignedShort, but also SceneFieldType::StringOffset16 or SceneFieldType::StringRangeNullTerminated16. Most types still have a 1:1 mapping, which is why this delegates to the existing SceneFieldTypeFor<T> trait (which is also still needed to autodetect the SceneFieldType in a SceneFieldData constructor), but certain type will be able to provide a specialized handling.pull/499/head
1 changed files with 10 additions and 1 deletions
Loading…
Reference in new issue