 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
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>
181 template <
typename T>
187 template <
typename T>
189 return val == (T) - 1;
192 template <
typename T>
194 return val != (T) - 1;
200 template <
typename T>
203 return val == (T) - 1;
206 template <
typename T>
209 return val != (T) - 1;
UInt64 AGXCORE_EXPORT getStartTick()
bool AGXCORE_EXPORT isBuiltWith(BuildConfiguration config)
Tag for invalid UInt values.
agx::Index AGXCORE_EXPORT getNumThreads()
std::string AGXCORE_EXPORT getBuildConfigurationString(BuildConfiguration config)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGXPHYSICS_EXPORT
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...
@ NUM_BUILD_CONFIGURATIONS
bool AGXPHYSICS_EXPORT isInitialized()
void AGXPHYSICS_EXPORT shutdown()
Shutdown of the AGX Dynamics API will be done when the number of shutdown matches the number of calls...
void AGXCORE_EXPORT setNumThreads(size_t numThreads)
Set the number of threads to use (including the main thread).
AGXCORE_EXPORT Thread * getCurrentThread()
void AGXCORE_EXPORT resetStartTick()
Reset the startTick value to the current tick.
bool operator!=(T val, InvalidIndexStruct)
bool AGXCORE_EXPORT isShutdown()
Convenience class to automatically call agx::init / agx::shutdown.
bool operator==(T val, InvalidIndexStruct)
Contains function for initialization and shutdown of agxCore library when agxPhysics is not used.
void AGXCORE_EXPORT shutdown()
Shutdown the AGX API, after this call no AGX API calls should be done.
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API.
const AGXCORE_EXPORT InvalidIndexStruct InvalidIndex
BuildConfiguration
Specifies flags set at build time. Used when querying what is enabled in this current build.
agx::Index AGXCORE_EXPORT getNumThreadsIncludingRegistered()
AGXCORE_EXPORT bool getEntityCreationThreadSafe()
bool AGXPHYSICS_EXPORT isShutdown()
This method indicates if agx::shutdown() has been started or already done.
void AGXCORE_EXPORT init()
Deprecated, no need for explicit initialization.