|
|
|
|
@ -283,7 +283,7 @@ properly use the callbacks to both load the top-level file in @ref doOpenFile()
|
|
|
|
|
and also load any external files when needed. The @ref doOpenFile() can |
|
|
|
|
delegate back into the base implementation, but it should remember at least the |
|
|
|
|
base file path to pass correct paths to subsequent file callbacks. The |
|
|
|
|
@ref doSetFileCallback() can be overriden in case it's desired to respond to |
|
|
|
|
@ref doSetFileCallback() can be overridden in case it's desired to respond to |
|
|
|
|
file loading callback setup, but doesn't have to be. |
|
|
|
|
|
|
|
|
|
For multi-data formats the file opening shouldn't take long and all parsing |
|
|
|
|
@ -1526,7 +1526,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doScene() (with correct scene count |
|
|
|
|
* preferably during @ref doScene() (with correct scene count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doSceneCount() const; |
|
|
|
|
@ -1553,7 +1553,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doAnimation() (with correct animation count |
|
|
|
|
* preferably during @ref doAnimation() (with correct animation count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doAnimationCount() const; |
|
|
|
|
@ -1580,7 +1580,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doLight() (with correct light count |
|
|
|
|
* preferably during @ref doLight() (with correct light count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doLightCount() const; |
|
|
|
|
@ -1607,7 +1607,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doCamera() (with correct camera count |
|
|
|
|
* preferably during @ref doCamera() (with correct camera count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doCameraCount() const; |
|
|
|
|
@ -1634,7 +1634,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doObject2D() (with correct object count |
|
|
|
|
* preferably during @ref doObject2D() (with correct object count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doObject2DCount() const; |
|
|
|
|
@ -1661,7 +1661,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doObject3D() (with correct object count |
|
|
|
|
* preferably during @ref doObject3D() (with correct object count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doObject3DCount() const; |
|
|
|
|
@ -1689,7 +1689,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doSkin2D() (with correct skin count |
|
|
|
|
* preferably during @ref doSkin2D() (with correct skin count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doSkin2DCount() const; |
|
|
|
|
@ -1722,7 +1722,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doSkin3D() (with correct skin count |
|
|
|
|
* preferably during @ref doSkin3D() (with correct skin count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doSkin3DCount() const; |
|
|
|
|
@ -1755,7 +1755,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doMesh() (with correct mesh count |
|
|
|
|
* preferably during @ref doMesh() (with correct mesh count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doMeshCount() const; |
|
|
|
|
@ -1931,7 +1931,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doMaterial() (with correct material count |
|
|
|
|
* preferably during @ref doMaterial() (with correct material count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doMaterialCount() const; |
|
|
|
|
@ -1958,7 +1958,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doTexture() (with correct texture count |
|
|
|
|
* preferably during @ref doTexture() (with correct texture count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doTextureCount() const; |
|
|
|
|
@ -1985,7 +1985,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doImage1D() (with correct image count |
|
|
|
|
* preferably during @ref doImage1D() (with correct image count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doImage1DCount() const; |
|
|
|
|
@ -2021,7 +2021,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doImage2D() (with correct image count |
|
|
|
|
* preferably during @ref doImage2D() (with correct image count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doImage2DCount() const; |
|
|
|
|
@ -2065,7 +2065,7 @@ class MAGNUM_TRADE_EXPORT AbstractImporter: public PluginManager::AbstractManagi
|
|
|
|
|
* |
|
|
|
|
* Default implementation returns @cpp 0 @ce. This function isn't |
|
|
|
|
* expected to fail --- if an import error occus, it should be handled |
|
|
|
|
* preferrably during @ref doImage3D() (with correct image count |
|
|
|
|
* preferably during @ref doImage3D() (with correct image count |
|
|
|
|
* reported), and if not possible, already during file opening. |
|
|
|
|
*/ |
|
|
|
|
virtual UnsignedInt doImage3DCount() const; |
|
|
|
|
|