18 # pragma warning(push)
19 # pragma warning(disable: 4251)
25 #include <agx/config.h>
170 template <
typename T>
176 template <
typename T>
178 return val == (T) - 1;
181 template <
typename T>
183 return val != (T) - 1;
189 template <
typename T>
192 return val == (T) - 1;
195 template <
typename T>
198 return val != (T) - 1;
229 # pragma warning(pop)
#define AGXPHYSICS_EXPORT
Convenience class to automatically call agx::init / agx::shutdown.
agx::Thread is a representation of an OS specific implementation of a computational thread.
Contains function for initialization and shutdown of agxCore library when agxPhysics is not used.
bool AGXCORE_EXPORT isShutdown()
void AGXCORE_EXPORT shutdown()
Shutdown the AGX API, after this call no AGX API calls should be done.
void AGXCORE_EXPORT init()
Deprecated, no need for explicit initialization.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
bool AGXPHYSICS_EXPORT isShutdown()
std::string AGXCORE_EXPORT getBuildConfigurationString(BuildConfiguration config)
void AGXCORE_EXPORT resetStartTick()
Reset the startTick value to the current tick.
void AGXCORE_EXPORT setNumThreads(size_t numThreads)
Set the number of threads to use (including the main thread).
BuildConfiguration
Specifies flags set at build time. Used when querying what is enabled in this current build.
@ NUM_BUILD_CONFIGURATIONS
AGXCORE_EXPORT bool getEntityCreationThreadSafe()
agx::Index AGXCORE_EXPORT getNumThreads()
bool operator!=(T val, InvalidIndexStruct)
bool operator==(T val, InvalidIndexStruct)
UInt64 AGXCORE_EXPORT getStartTick()
bool AGXCORE_EXPORT isBuiltWith(BuildConfiguration config)
void AGXPHYSICS_EXPORT shutdown()
Shutdown agx.
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
void AGXPHYSICS_EXPORT init()
Initialize agx.
agx::Index AGXCORE_EXPORT getNumThreadsIncludingRegistered()
AGXCORE_EXPORT Thread * getCurrentThread()
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...
Tag for invalid UInt values.