30 #ifndef PX_FOUNDATION_PX_FOUNDATION_H 31 #define PX_FOUNDATION_PX_FOUNDATION_H 62 virtual void release() = 0;
87 virtual bool getReportAllocationNames()
const = 0;
93 virtual void setReportAllocationNames(
bool value) = 0;
131 #pragma clang diagnostic push 132 #pragma clang diagnostic ignored "-Wreturn-type-c-linkage" 138 #pragma clang diagnostic pop 144 class PxProfilerCallback;
158 #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:328
uint32_t PxU32
Definition: PxSimpleTypes.h:71
Foundation SDK singleton class.
Definition: PxFoundation.h:50
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:96
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: PxPreprocessor.h:318
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