18 # pragma warning(push) 19 # pragma warning(disable: 4251) // warning C4251: class X needs to have dll-interface to be used by clients of class Y 27 #include <agx/config.h> 174 template <
typename T>
180 template <
typename T>
182 return val == (T) - 1;
185 template <
typename T>
187 return val != (T) - 1;
193 template <
typename T>
196 return val == (T) - 1;
199 template <
typename T>
202 return val != (T) - 1;
agx::Index AGXCORE_EXPORT getNumThreads()
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
void AGXPHYSICS_EXPORT shutdown()
Shutdown of the AGX Dynamics API will be done when the number of shutdown matches the number of calls...
agx::Thread is a representation of an OS specific implementation of a computational thread...
BuildConfiguration
Specifies flags set at build time. Used when querying what is enabled in this current build...
bool AGXCORE_EXPORT isBuiltWith(BuildConfiguration config)
AGXCORE_EXPORT bool getEntityCreationThreadSafe()
bool AGXPHYSICS_EXPORT isShutdown()
bool operator==(T val, InvalidIndexStruct)
std::string AGXCORE_EXPORT getBuildConfigurationString(BuildConfiguration config)
#define AGXPHYSICS_EXPORT
UInt64 AGXCORE_EXPORT getStartTick()
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
agx::Index AGXCORE_EXPORT getNumThreadsIncludingRegistered()
void AGXCORE_EXPORT resetStartTick()
Reset the startTick value to the current tick.
AGXCORE_EXPORT void setEntityCreationThreadSafe(bool)
Iff true you can move the entity to another thread (but you may only use it from one thread at the ti...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AGXCORE_EXPORT Thread * getCurrentThread()
void AGXCORE_EXPORT setNumThreads(size_t numThreads)
Set the number of threads to use (including the main thread).
bool operator!=(T val, InvalidIndexStruct)
Convenience class to automatically call agx::init / agx::shutdown.
Tag for invalid UInt values.
Contains function for initialization and shutdown of agxCore library when agxPhysics is not used...