aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXGuide/_sources
diff options
context:
space:
mode:
authorsschirm <[email protected]>2016-12-23 14:20:36 +0100
committersschirm <[email protected]>2016-12-23 14:56:17 +0100
commitef6937e69e8ee3f409cf9d460d5ad300a65d5924 (patch)
tree710426e8daa605551ce3f34b581897011101c30f /PhysX_3.4/Documentation/PhysXGuide/_sources
parentInitial commit: (diff)
downloadphysx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.tar.xz
physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.zip
PhysX 3.4 / APEX 1.4 release candidate @21506124
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXGuide/_sources')
-rw-r--r--PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/ExtendingSerialization.txt4
-rw-r--r--PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Startup.txt22
2 files changed, 24 insertions, 2 deletions
diff --git a/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/ExtendingSerialization.txt b/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/ExtendingSerialization.txt
index 3e95abe0..bd8f5791 100644
--- a/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/ExtendingSerialization.txt
+++ b/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/ExtendingSerialization.txt
@@ -320,8 +320,8 @@ PxVehicle serialization is a useful example. With Source/PhysXVehicle as the ro
src/PhysXMetaData/include/PxVehicleMetaDataObjects.h
src/PhysXMetaData/src/PxVehicleMetaDataObjects.cpp
- ../../Tools/PhysXMetaDataGenerator/PxVehicleExtension/PxVehicleExtensionAPI.h
- ../../Tools/PhysXMetaDataGenerator/PxVehicleExtension/runClang_[windows|osx|linux].[bat|sh]
+ ../../Tools/PhysXMetaDataGenerator/PxVehicleExtensionAPI.h
+ ../../Tools/PhysXMetaDataGenerator/generateMetaData.py
Running the script will auto-generate the following files::
diff --git a/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Startup.txt b/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Startup.txt
index 37beaeb1..da518a03 100644
--- a/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Startup.txt
+++ b/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Startup.txt
@@ -163,6 +163,28 @@ Now the hook must be set for PhysX, PhysXCooking, PhysXGpu, PhysXCommon, PxPvdSD
PxPvdSetFoundationDelayLoadHook(&gDelayLoadHook);
+++++++++++++++++++++++++++++++
+PxGpuLoadHook
++++++++++++++++++++++++++++++++
+
+The PxGpuLoadHook class supports loading of different versions of PhysXGpu DLL. This can be achieved by providing different DLL names to the PhysX SDK through a custom subclass of PxGpuLoadHook, see the following example::
+
+ class SampleGpuLoadHook: public PxGpuLoadHook
+ {
+ virtual const char* getPhysXGpuDEBUGDllName() const
+ { return "PhysX3GpuDEBUG_x64_Test.dll"; }
+ virtual const char* getPhysXGpuCHECKEDDllName() const
+ { return "PhysX3GpuCHECKED_x64_Test.dll"; }
+ virtual const char* getPhysXGpuPROFILEDllName() const
+ { return "PhysX3GpuPROFILE_x64_Test.dll"; }
+ virtual const char* getPhysXGpuDllName() const
+ { return "PhysX3Gpu_x64_Test.dll"; }
+ } gGpuLoadHook;
+
+Now the hook must be set for PhysX::
+
+ PxSetPhysXGpuLoadHook(&gGpuLoadHook);
+
++++++++++++++++++++++++++++++++
PhysXCommon Secure Load
+++++++++++++++++++++++++++++++