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

Method createInstance

physx/source/physx/src/PvdMetaDataPvdBinding.cpp:726–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724}
725
726void PvdMetaDataBinding::createInstance(PvdDataStream& inStream, const PxMaterial& inMaterial, const PxPhysics& ownerPhysics)
727{
728 inStream.createInstance(&inMaterial);
729 sendAllProperties(inStream, inMaterial);
730 addPhysicsGroupProperty(inStream, "Materials", inMaterial, ownerPhysics);
731}
732
733void PvdMetaDataBinding::sendAllProperties(PvdDataStream& inStream, const PxMaterial& inMaterial)
734{

Callers 5

sendGeometryFunction · 0.45
setGeometryFunction · 0.45
setMaterialsFunction · 0.45
addSceneGroupPropertyFunction · 0.45
sendShapesFunction · 0.45

Calls 15

addPhysicsGroupPropertyFunction · 0.85
PxMaxFunction · 0.85
setGeometryFunction · 0.85
setMaterialsFunction · 0.85
addSceneGroupPropertyFunction · 0.85
sendShapesFunction · 0.85
getMassInformationMethod · 0.80
getVerticesMethod · 0.80
getPolygonDataMethod · 0.80
getIndexBufferMethod · 0.80
getTriangleMeshFlagsMethod · 0.80
pushBackObjectRefMethod · 0.80

Tested by

no test coverage detected