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

Method DebugText

physx/source/common/src/CmRenderOutput.cpp:121–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 DebugText::DebugText(const PxVec3& position_, PxReal size_, const char* string, ...)
122 : position(position_), size(size_)
123 {
124 va_list argList;
125 va_start(argList, string);
126 if(0 >= Ps::vsnprintf(buffer, sBufferSize-1, string, argList))
127 buffer[sBufferSize-1] = 0; // terminate string
128 va_end(argList);
129 }
130
131 RenderOutput& RenderOutput::operator<<(const DebugText& text)
132 {

Callers

nothing calls this directly

Calls 1

vsnprintfFunction · 0.85

Tested by

no test coverage detected