43 #ifndef OPENVDB_VERSION_HAS_BEEN_INCLUDED
44 #define OPENVDB_VERSION_HAS_BEEN_INCLUDED
59 #define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER 8
61 #define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER 1
63 #define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER 1
71 #ifndef OPENVDB_ABI_VERSION_NUMBER
74 #define OPENVDB_ABI_VERSION_NUMBER 8
82 #define OPENVDB_LIBRARY_VERSION_STRING "8.1.1"
89 #define OPENVDB_LIBRARY_ABI_VERSION_STRING "8.1.1abi8"
93 #define OPENVDB_LIBRARY_VERSION_NUMBER 134283265
113 #if OPENVDB_ABI_VERSION_NUMBER == OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
114 #define OPENVDB_VERSION_NAME v8_1_sesi
116 #define OPENVDB_VERSION_NAME v8_1_sesi_abi8
120 #ifndef OPENVDB_USE_IMATH_HALF
125 #ifndef OPENVDB_USE_BLOSC
126 #define OPENVDB_USE_BLOSC
130 #ifndef OPENVDB_USE_ZLIB
131 #define OPENVDB_USE_ZLIB
139 #if OPENVDB_ABI_VERSION_NUMBER > OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
144 #if OPENVDB_ABI_VERSION_NUMBER == 9
145 #ifndef OPENVDB_USE_FUTURE_ABI_9
146 PRAGMA(
message(
"NOTE: ABI = 9 is still in active development and has not been finalized, "
147 "define OPENVDB_USE_FUTURE_ABI_9 to suppress this message"))
150 #error expected OPENVDB_ABI_VERSION_NUMBER <= OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
158 #ifndef OPENVDB_USE_DEPRECATED_ABI_6
159 #if OPENVDB_ABI_VERSION_NUMBER == 6
160 PRAGMA(
message(
"NOTE: ABI = 6 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_6 "
161 "to suppress this message"))
173 #ifdef OPENVDB_REQUIRE_VERSION_NAME
174 #define OPENVDB_USE_VERSION_NAMESPACE
178 #define OPENVDB_USE_VERSION_NAMESPACE \
179 namespace OPENVDB_VERSION_NAME {} \
180 using namespace OPENVDB_VERSION_NAME;
246 #endif // OPENVDB_VERSION_HAS_BEEN_INCLUDED
#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER
Library major, minor and patch version numbers.
GLuint GLsizei const GLchar * message
constexpr const char * getLibraryAbiVersionString()
Return a library version number string of the form "<major>.<minor>.<patch>abi<abi>".
const int32_t OPENVDB_MAGIC
The magic number is stored in the first four bytes of every VDB file.
const uint32_t OPENVDB_LIBRARY_PATCH_VERSION
#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER
Library major, minor and patch version numbers.
#define OPENVDB_LIBRARY_VERSION_STRING
Library version number string of the form "<major>.<minor>.<patch>".
#define OPENVDB_USE_VERSION_NAMESPACE
#define OPENVDB_ABI_VERSION_NUMBER
The ABI version that OpenVDB was built with.
#define OPENVDB_LIBRARY_VERSION_NUMBER
Library version number as a packed integer ("%02x%02x%04x", major, minor, patch)
const uint32_t OPENVDB_LIBRARY_VERSION
VersionId(uint32_t major, uint32_t minor)
const uint32_t OPENVDB_LIBRARY_MAJOR_VERSION
#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
Library major, minor and patch version numbers.
#define OPENVDB_LIBRARY_ABI_VERSION_STRING
Library version number string of the form "<major>.<minor>.<patch>abi<abi>".
const uint32_t OPENVDB_LIBRARY_MINOR_VERSION
const uint32_t OPENVDB_ABI_VERSION
constexpr const char * getLibraryVersionString()
Return a library version number string of the form "<major>.<minor>.<patch>".
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
const uint32_t OPENVDB_FILE_VERSION
The current version number of the VDB file format.