|
AGX Dynamics 2.41.2.0
|
#include <agx/config.h>#include <agx/macros.h>#include <agx/build_flags.h>#include <agx/agxPhysics_export.h>#include <agx/agxCore_export.h>#include <string.h>#include <agx/Math.h>#include <agx/stdint.h>#include <agx/debug.h>Go to the source code of this file.
Classes | |
| class | agx::AutoInit |
| Convenience class to automatically call agx::init / agx::shutdown. More... | |
| struct | agx::InvalidIndexStruct |
| Tag for invalid UInt values. More... | |
Namespaces | |
| namespace | agx |
| The agx namespace contains the dynamics/math part of the AGX Dynamics API. | |
| namespace | agxCore |
| Contains function for initialization and shutdown of agxCore library when agxPhysics is not used. | |
Macros | |
| #define | AGX_AGX_H |
Enumerations | |
| enum | agx::BuildConfiguration { agx::USE_64BIT_ARCHITECTURE , agx::SABRE_USE_METIS , agx::USE_OPENGL_INSTANCING , agx::USE_PREFETCHING , agx::USE_SSE , agx::SABRE_USE_SSE3 , agx::SABRE_USE_PADDING , agx::USE_TINYXML , agx::USE_OPENGL , agx::USE_OSG , agx::UNITTEST_ENABLED , agx::USE_AGXSENSOR , agx::USE_AGXCALLABLE , agx::USE_PARTICLE_SYSTEM , agx::USE_OPENCL , agx::USE_DEBUG , agx::USE_COMPOSITE , agx::WINDOWS_PLATFORM , agx::USE_ASSIMP , agx::NUM_BUILD_CONFIGURATIONS } |
| Specifies flags set at build time. Used when querying what is enabled in this current build. More... | |
Functions | |
| std::string AGXCORE_EXPORT | agx::getBuildConfigurationString (BuildConfiguration config) |
| AGXCORE_EXPORT Thread * | agx::getCurrentThread () |
| AGXCORE_EXPORT bool | agx::getEntityCreationThreadSafe () |
| agx::Index AGXCORE_EXPORT | agx::getNumThreads () |
| agx::Index AGXCORE_EXPORT | agx::getNumThreadsIncludingRegistered () |
| UInt64 AGXCORE_EXPORT | agx::getStartTick () |
| void AGXPHYSICS_EXPORT | agx::init () |
| Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API. | |
| void AGXCORE_EXPORT | agxCore::init () |
| Deprecated, no need for explicit initialization. | |
| bool AGXCORE_EXPORT | agx::isBuiltWith (BuildConfiguration config) |
| bool AGXPHYSICS_EXPORT | agx::isInitialized () |
| template<typename T , typename EnableT = std::enable_if_t<std::is_integral_v<T> || std::is_enum_v<T>>> | |
| bool | agx::isInvalidIndex (T val) |
| bool AGXPHYSICS_EXPORT | agx::isShutdown () |
| This method indicates if agx::shutdown() has been started or already done. | |
| bool AGXCORE_EXPORT | agxCore::isShutdown () |
| template<typename T , typename EnableT = std::enable_if_t<std::is_integral_v<T> || std::is_enum_v<T>>> | |
| bool | agx::isValidIndex (T val) |
| template<typename T , typename EnableT = std::enable_if_t<std::is_integral_v<T> || std::is_enum_v<T>>> | |
| bool | agx::operator!= (T val, InvalidIndexStruct) |
| template<typename T , typename EnableT = std::enable_if_t<std::is_integral_v<T> || std::is_enum_v<T>>> | |
| bool | agx::operator== (T val, InvalidIndexStruct) |
| void AGXCORE_EXPORT | agx::resetStartTick () |
| Reset the startTick value to the current tick. | |
| AGXCORE_EXPORT void | agx::setEntityCreationThreadSafe (bool) |
| Iff true you can move the entity to another thread (but you may only use it from one thread at the time). | |
| void AGXCORE_EXPORT | agx::setNumThreads (size_t numThreads) |
| Set the number of threads to use (including the main thread). | |
| void AGXPHYSICS_EXPORT | agx::shutdown () |
| Shutdown of the AGX Dynamics API will be done when the number of shutdown matches the number of calls to init(). | |
| void AGXCORE_EXPORT | agxCore::shutdown () |
| Shutdown the AGX API, after this call no AGX API calls should be done. | |
Variables | |
| AGXCORE_EXPORT const InvalidIndexStruct | agx::InvalidIndex |