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

Function initializeModelTypes

physx/source/pvd/src/PxPvdImpl.cpp:64–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62CmEventNameProvider gProfileNameProvider;
63
64void initializeModelTypes(PvdDataStream& stream)
65{
66 stream.createClass<profile::PxProfileZone>();
67 stream.createProperty<profile::PxProfileZone, uint8_t>(
68 "events", PvdCommStreamEmbeddedTypes::getProfileEventStreamSemantic(), PropertyType::Array);
69
70 stream.createClass<profile::PxProfileMemoryEventBuffer>();
71 stream.createProperty<profile::PxProfileMemoryEventBuffer, uint8_t>(
72 "events", PvdCommStreamEmbeddedTypes::getMemoryEventStreamSemantic(), PropertyType::Array);
73
74 stream.createClass<PvdUserRenderer>();
75 stream.createProperty<PvdUserRenderer, uint8_t>(
76 "events", PvdCommStreamEmbeddedTypes::getRendererEventStreamSemantic(), PropertyType::Array);
77}
78
79PvdImpl* PvdImpl::sInstance = NULL;
80uint32_t PvdImpl::sRefCount = 0;

Callers 1

connectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected