|
|
|
|
@ -231,8 +231,16 @@ Int AnySceneImporter::doMeshForName(const Containers::StringView name) { return
|
|
|
|
|
Containers::String AnySceneImporter::doMeshName(const UnsignedInt id) { return _in->meshName(id); } |
|
|
|
|
Containers::Optional<MeshData> AnySceneImporter::doMesh(const UnsignedInt id, const UnsignedInt level) { return _in->mesh(id, level); } |
|
|
|
|
|
|
|
|
|
MeshAttribute AnySceneImporter::doMeshAttributeForName(const Containers::StringView name) { return _in->meshAttributeForName(name); } |
|
|
|
|
Containers::String AnySceneImporter::doMeshAttributeName(const UnsignedShort id) { return _in->meshAttributeName(meshAttributeCustom(id)); } |
|
|
|
|
MeshAttribute AnySceneImporter::doMeshAttributeForName(const Containers::StringView name) { |
|
|
|
|
/* This API can be called even if no file is opened, in that case return
|
|
|
|
|
an invalid ID */ |
|
|
|
|
return _in ? _in->meshAttributeForName(name) : MeshAttribute{}; |
|
|
|
|
} |
|
|
|
|
Containers::String AnySceneImporter::doMeshAttributeName(const UnsignedShort id) { |
|
|
|
|
/* This API can be called even if no file is opened, in that case return
|
|
|
|
|
an invalid ID */ |
|
|
|
|
return _in ? _in->meshAttributeName(meshAttributeCustom(id)) : Containers::String{}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifdef MAGNUM_BUILD_DEPRECATED |
|
|
|
|
CORRADE_IGNORE_DEPRECATED_PUSH |
|
|
|
|
|