Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
version.h File Reference

Functions to query the version of the Assimp runtime, check compile flags, ... More...

Macros

#define AI_VERSION_H_INC
 
#define ASSIMP_CFLAGS_DEBUG   0x4
 Assimp was compiled as a debug build. More...
 
#define ASSIMP_CFLAGS_DOUBLE_SUPPORT   0x20
 Assimp was compiled with ASSIMP_BUILD_SINGLETHREADED defined. More...
 
#define ASSIMP_CFLAGS_NOBOOST   0x8
 Assimp was compiled with ASSIMP_BUILD_BOOST_WORKAROUND defined. More...
 
#define ASSIMP_CFLAGS_SHARED   0x1
 Assimp was compiled as a shared object (Windows: DLL) More...
 
#define ASSIMP_CFLAGS_SINGLETHREADED   0x10
 Assimp was compiled with ASSIMP_BUILD_SINGLETHREADED defined. More...
 
#define ASSIMP_CFLAGS_STLPORT   0x2
 Assimp was compiled against STLport. More...
 

Functions

ASSIMP_API const char * aiGetBranchName ()
 Returns the branch-name of the Assimp runtime. More...
 
ASSIMP_API unsigned int aiGetCompileFlags (void)
 Returns assimp's compile flags. More...
 
ASSIMP_API const char * aiGetLegalString (void)
 Returns a string with legal copyright and licensing information about Assimp. More...
 
ASSIMP_API unsigned int aiGetVersionMajor (void)
 Returns the current major version number of Assimp. More...
 
ASSIMP_API unsigned int aiGetVersionMinor (void)
 Returns the current minor version number of Assimp. More...
 
ASSIMP_API unsigned int aiGetVersionPatch (void)
 Returns the current patch version number of Assimp. More...
 
ASSIMP_API unsigned int aiGetVersionRevision (void)
 Returns the repository revision of the Assimp runtime. More...
 

Detailed Description

Functions to query the version of the Assimp runtime, check compile flags, ...

Macro Definition Documentation

◆ AI_VERSION_H_INC

#define AI_VERSION_H_INC

◆ ASSIMP_CFLAGS_DEBUG

#define ASSIMP_CFLAGS_DEBUG   0x4

Assimp was compiled as a debug build.

◆ ASSIMP_CFLAGS_DOUBLE_SUPPORT

#define ASSIMP_CFLAGS_DOUBLE_SUPPORT   0x20

Assimp was compiled with ASSIMP_BUILD_SINGLETHREADED defined.

◆ ASSIMP_CFLAGS_NOBOOST

#define ASSIMP_CFLAGS_NOBOOST   0x8

Assimp was compiled with ASSIMP_BUILD_BOOST_WORKAROUND defined.

◆ ASSIMP_CFLAGS_SHARED

#define ASSIMP_CFLAGS_SHARED   0x1

Assimp was compiled as a shared object (Windows: DLL)

◆ ASSIMP_CFLAGS_SINGLETHREADED

#define ASSIMP_CFLAGS_SINGLETHREADED   0x10

Assimp was compiled with ASSIMP_BUILD_SINGLETHREADED defined.

◆ ASSIMP_CFLAGS_STLPORT

#define ASSIMP_CFLAGS_STLPORT   0x2

Assimp was compiled against STLport.

Function Documentation

◆ aiGetBranchName()

ASSIMP_API const char * aiGetBranchName ( )

Returns the branch-name of the Assimp runtime.

Returns
The current branch name.

◆ aiGetCompileFlags()

ASSIMP_API unsigned int aiGetCompileFlags ( void  )

Returns assimp's compile flags.

Returns
Any bitwise combination of the ASSIMP_CFLAGS_xxx constants.

◆ aiGetLegalString()

ASSIMP_API const char * aiGetLegalString ( void  )

Returns a string with legal copyright and licensing information about Assimp.

The string may include multiple lines.

Returns
Pointer to static string.

◆ aiGetVersionMajor()

ASSIMP_API unsigned int aiGetVersionMajor ( void  )

Returns the current major version number of Assimp.

Returns
Major version of the Assimp runtime the application was linked/built against

◆ aiGetVersionMinor()

ASSIMP_API unsigned int aiGetVersionMinor ( void  )

Returns the current minor version number of Assimp.

Returns
Minor version of the Assimp runtime the application was linked/built against

◆ aiGetVersionPatch()

ASSIMP_API unsigned int aiGetVersionPatch ( void  )

Returns the current patch version number of Assimp.

Returns
Patch version of the Assimp runtime the application was linked/built against

◆ aiGetVersionRevision()

ASSIMP_API unsigned int aiGetVersionRevision ( void  )

Returns the repository revision of the Assimp runtime.

Returns
SVN Repository revision number of the Assimp runtime the application was linked/built against.