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

Method write

physx/source/pvd/src/PxPvdDefaultFileTransport.cpp:63–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool PvdDefaultFileTransport::write(const uint8_t* inBytes, uint32_t inLength)
64{
65 PX_ASSERT(mLocked);
66 PX_ASSERT(mFileBuffer);
67 if (mConnected)
68 {
69 uint32_t len = mFileBuffer->write(inBytes, inLength);
70 mWrittenData += len;
71 return len == inLength;
72 }
73 else
74 return false;
75}
76
77PxPvdTransport& PvdDefaultFileTransport::lock()
78{

Callers 5

streamifyMethod · 0.45
handleBufferFlushMethod · 0.45
sendEventMethod · 0.45
PVD_FOREACHMethod · 0.45
bufferPropertyMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected