PxIsFoundationValid#
Defined in include/foundation/PxFoundation.h
-
physx::PxFoundation *PxIsFoundationValid()#
Similar to PxGetFoundation() except it handles the case if the foundation was not created already.
See also
PxCreateFoundation(), PxGetFoundation()
- Returns:
Pointer to the foundation if an instance is currently available, otherwise null.