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

Class PxDebugText

physx/include/common/PxRenderBuffer.h:115–126  ·  view source on GitHub ↗

\brief Used to store a text for debug rendering. Doesn't own 'string' array. */

Source from the content-addressed store, hash-verified

113\brief Used to store a text for debug rendering. Doesn't own 'string' array.
114*/
115struct PxDebugText
116{
117 PxDebugText() : string(0) {}
118
119 PxDebugText(const PxVec3& p, const PxReal& s, const PxU32& c, const char* str)
120 : position(p), size(s), color(c), string(str) {}
121
122 PxVec3 position;
123 PxReal size;
124 PxU32 color;
125 const char* string;
126};
127
128/**
129\brief Interface for points, lines, triangles, and text buffer.

Callers 1

CmRenderOutput.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected