MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / updatePvdProperties

Function updatePvdProperties

deps/physx/physx/source/physx/src/NpShape.cpp:39–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37using namespace Sq;
38
39static PX_FORCE_INLINE void updatePvdProperties(const Scb::Shape& shape)
40{
41#if PX_SUPPORT_PVD
42 Scb::Scene* scbScene = shape.getScbSceneForAPI();
43 if(scbScene)
44 scbScene->getScenePvdClient().updatePvdProperties(&shape);
45#else
46 PX_UNUSED(shape);
47#endif
48}
49
50NpShape::NpShape(const PxGeometry& geometry, PxShapeFlags shapeFlags, const PxU16* materialIndices, PxU16 materialCount, bool isExclusive)
51: PxShape (PxConcreteType::eSHAPE, PxBaseFlag::eOWNS_MEMORY | PxBaseFlag::eIS_RELEASABLE)

Callers 2

setQueryFilterDataMethod · 0.70
setNameMethod · 0.70

Calls 3

PX_UNUSEDFunction · 0.85
getScenePvdClientMethod · 0.80
updatePvdPropertiesMethod · 0.45

Tested by

no test coverage detected