30 #ifndef PX_FOUNDATION_PX_FOUNDATION_H 31 #define PX_FOUNDATION_PX_FOUNDATION_H 63 virtual void release() = 0;
88 virtual bool getReportAllocationNames()
const = 0;
94 virtual void setReportAllocationNames(
bool value) = 0;
132 #pragma clang diagnostic push 133 #pragma clang diagnostic ignored "-Wreturn-type-c-linkage" 139 #pragma clang diagnostic pop 145 class PxProfilerCallback;
159 #endif // PX_FOUNDATION_PX_FOUNDATION_H Definition: GuContactBuffer.h:37
User defined interface class. Used by the library to emit debug information.
Definition: PxErrorCallback.h:51
PX_C_EXPORT PX_FOUNDATION_API void PX_CALL_CONV PxSetProfilerCallback(physx::PxProfilerCallback *profiler)
Set the callback that will be used for all profiling.
#define PX_C_EXPORT
Definition: Pxc.h:54
#define PX_CALL_CONV
Definition: PxPreprocessor.h:315
uint32_t PxU32
Definition: PxSimpleTypes.h:71
Foundation SDK singleton class.
Definition: PxFoundation.h:51
The pure virtual callback interface for general purpose instrumentation and profiling of GameWorks mo...
Definition: PxProfiler.h:40
PX_C_EXPORT PX_FOUNDATION_API physx::PxProfilerCallback *PX_CALL_CONV PxGetProfilerCallback()
Get the callback that will be used for all profiling.
virtual ~PxFoundation()
Definition: PxFoundation.h:97
Abstract base class for an application defined memory allocator that can be used by the Nv library...
Definition: PxAllocatorCallback.h:52
#define PX_FOUNDATION_API
Definition: PxFoundationConfig.h:51
PX_C_EXPORT PX_FOUNDATION_API physx::PxFoundation &PX_CALL_CONV PxGetFoundation()
Retrieves the Foundation SDK after it has been created.
PX_C_EXPORT PX_FOUNDATION_API physx::PxFoundation *PX_CALL_CONV PxCreateFoundation(physx::PxU32 version, physx::PxAllocatorCallback &allocator, physx::PxErrorCallback &errorCallback)
Creates an instance of the foundation class.
A bit mask for including all errors.
Definition: PxErrors.h:84
Enum
Definition: PxErrors.h:53