Path Tracer
Macros | Typedefs
defs.h File Reference

Assimp build configuration setup. See the notes in the comment blocks to find out how to customize your Assimp build. More...

#include <assimp/config.h>

Go to the source code of this file.

Macros

#define AI_DEFINES_H_INC
 
#define ASSIMP_BUILD_NEED_Z_INFLATE
 
#define ASSIMP_BUILD_NEED_Z_INFLATE
 
#define ASSIMP_BUILD_NEED_Z_INFLATE
 
#define ASSIMP_BUILD_NEED_UNZIP
 
#define ASSIMP_BUILD_NEED_Z_INFLATE
 
#define ASSIMP_BUILD_NEED_UNZIP
 
#define ASSIMP_API   __attribute__((visibility("default")))
 
#define ASSIMP_API_WINONLY
 
#define AI_WONT_RETURN
 
#define AI_FORCE_INLINE   inline
 
#define AI_WONT_RETURN_SUFFIX
 
#define C_STRUCT   struct
 
#define C_ENUM   enum
 
#define ASSIMP_BUILD_SINGLETHREADED
 
#define ASSIMP_BUILD_DEBUG
 
#define ASSIMP_AI_REAL_TEXT_PRECISION   8
 
#define AI_MATH_PI   (3.141592653589793238462643383279)
 
#define AI_MATH_TWO_PI   (AI_MATH_PI * 2.0)
 
#define AI_MATH_HALF_PI   (AI_MATH_PI * 0.5)
 
#define AI_MATH_PI_F   (3.1415926538f)
 
#define AI_MATH_TWO_PI_F   (AI_MATH_PI_F * 2.0f)
 
#define AI_MATH_HALF_PI_F   (AI_MATH_PI_F * 0.5f)
 
#define AI_DEG_TO_RAD(x)   ((x) * (ai_real)0.0174532925)
 
#define AI_RAD_TO_DEG(x)   ((x) * (ai_real)57.2957795)
 
#define AI_MAX_ALLOC(type)   ((256U * 1024 * 1024) / sizeof(type))
 
#define AI_NO_EXCEPT
 
#define AI_DEBUG_INVALIDATE_PTR(x)   x = NULL;
 

Typedefs

typedef float ai_real
 
typedef signed int ai_int
 
typedef unsigned int ai_uint
 

Detailed Description

Assimp build configuration setup. See the notes in the comment blocks to find out how to customize your Assimp build.

Macro Definition Documentation

◆ AI_DEBUG_INVALIDATE_PTR

#define AI_DEBUG_INVALIDATE_PTR (   x)    x = NULL;

Helper macro to set a pointer to NULL in debug builds

◆ AI_MAX_ALLOC

#define AI_MAX_ALLOC (   type)    ((256U * 1024 * 1024) / sizeof(type))

To avoid running out of memory This can be adjusted for specific use cases It's NOT a total limit, just a limit for individual allocations