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 26 #include <agx/config.h> 171 template <
typename T>
177 template <
typename T>
179 return val == (T) - 1;
182 template <
typename T>
184 return val != (T) - 1;
190 template <
typename T>
193 return val == (T) - 1;
196 template <
typename T>
199 return val != (T) - 1;
225 # pragma warning(pop)
agx::Index AGXCORE_EXPORT getNumThreads()
void AGXPHYSICS_EXPORT init()
Initialize agx.
void AGXPHYSICS_EXPORT shutdown()
Shutdown agx.
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...
Namespace agx 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. NOTE: Only use these when using agxCore...