MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / updateMaterials

Method updateMaterials

physx/source/physx/src/PvdMetaDataPvdBinding.cpp:1038–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036}
1037
1038void PvdMetaDataBinding::updateMaterials(PvdDataStream& inStream, const PxShape& inObj, PsPvd* pvd)
1039{
1040 // Clear the shape's materials array.
1041 inStream.setPropertyValue(&inObj, "Materials", DataRef<const PxU8>(), getPvdNamespacedNameForType<ObjectRef>());
1042 setMaterials(*this, inStream, inObj, pvd, mBindingData);
1043}
1044
1045void PvdMetaDataBinding::destroyInstance(PvdDataStream& inStream, const PxShape& inObj, const PxRigidActor& owner)
1046{

Callers

nothing calls this directly

Calls 2

setMaterialsFunction · 0.85
setPropertyValueMethod · 0.45

Tested by

no test coverage detected