PxRenderOutput

Defined in include/common/PxRenderOutput.h

class PxRenderOutput

Output stream to fill RenderBuffer.

Public Types

enum Primitive

Values:

enumerator POINTS
enumerator LINES
enumerator LINESTRIP
enumerator TRIANGLES
enumerator TRIANGLESTRIP

Public Functions

inline PxRenderOutput(PxRenderBuffer &buffer)
inline PxRenderOutput &operator<<(Primitive prim)
inline PxRenderOutput &operator<<(PxU32 color)
inline PxRenderOutput &operator<<(const PxMat44 &transform)
inline PxRenderOutput &operator<<(const PxTransform &t)
inline PxRenderOutput &operator<<(const PxVec3 &vertex)
inline PxDebugLine *reserveSegments(PxU32 nbSegments)
inline PxDebugPoint *reservePoints(PxU32 nbSegments)
inline void outputSegment(const PxVec3 &v0, const PxVec3 &v1)
inline PxRenderOutput &outputCapsule(PxF32 radius, PxF32 halfHeight, const PxMat44 &absPose)