|
JPH_OVERRIDE_NEW_DELETE | DebugRendererRecorder (StreamOut &inStream) |
| Constructor. More...
|
|
virtual void | DrawLine (RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor) override |
| Implementation of DebugRenderer interface. More...
|
|
virtual void | DrawTriangle (RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor, ECastShadow inCastShadow) override |
| Draw a single back face culled triangle. More...
|
|
virtual Batch | CreateTriangleBatch (const Triangle *inTriangles, int inTriangleCount) override |
| Create a batch of triangles that can be drawn efficiently. More...
|
|
virtual Batch | CreateTriangleBatch (const Vertex *inVertices, int inVertexCount, const uint32 *inIndices, int inIndexCount) override |
|
virtual void | DrawGeometry (RMat44Arg inModelMatrix, const AABox &inWorldSpaceBounds, float inLODScaleSq, ColorArg inModelColor, const GeometryRef &inGeometry, ECullMode inCullMode, ECastShadow inCastShadow, EDrawMode inDrawMode) override |
|
virtual void | DrawText3D (RVec3Arg inPosition, const string_view &inString, ColorArg inColor, float inHeight) override |
| Draw text. More...
|
|
void | EndFrame () |
| Mark the end of a frame. More...
|
|
JPH_OVERRIDE_NEW_DELETE | DebugRenderer () |
| Constructor. More...
|
|
virtual | ~DebugRenderer () |
|
void | NextFrame () |
| Call once after frame is complete. Releases unused dynamically generated geometry assets. More...
|
|
virtual void | DrawLine (RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor)=0 |
| Draw line. More...
|
|
void | DrawWireBox (const AABox &inBox, ColorArg inColor) |
| Draw wireframe box. More...
|
|
void | DrawWireBox (const OrientedBox &inBox, ColorArg inColor) |
|
void | DrawWireBox (RMat44Arg inMatrix, const AABox &inBox, ColorArg inColor) |
|
void | DrawMarker (RVec3Arg inPosition, ColorArg inColor, float inSize) |
| Draw a marker on a position. More...
|
|
void | DrawArrow (RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor, float inSize) |
| Draw an arrow. More...
|
|
void | DrawCoordinateSystem (RMat44Arg inTransform, float inSize=1.0f) |
| Draw coordinate system (3 arrows, x = red, y = green, z = blue) More...
|
|
void | DrawPlane (RVec3Arg inPoint, Vec3Arg inNormal, ColorArg inColor, float inSize) |
| Draw a plane through inPoint with normal inNormal. More...
|
|
void | DrawWireTriangle (RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor) |
| Draw wireframe triangle. More...
|
|
template<class VERTEX_ARRAY > |
void | DrawWirePolygon (RMat44Arg inTransform, const VERTEX_ARRAY &inVertices, ColorArg inColor, float inArrowSize=0.0f) |
| Draw a wireframe polygon. More...
|
|
void | DrawWireSphere (RVec3Arg inCenter, float inRadius, ColorArg inColor, int inLevel=3) |
| Draw wireframe sphere. More...
|
|
void | DrawWireUnitSphere (RMat44Arg inMatrix, ColorArg inColor, int inLevel=3) |
|
virtual void | DrawTriangle (RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::Off)=0 |
| Draw a single back face culled triangle. More...
|
|
void | DrawBox (const AABox &inBox, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
| Draw a box. More...
|
|
void | DrawBox (RMat44Arg inMatrix, const AABox &inBox, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
void | DrawSphere (RVec3Arg inCenter, float inRadius, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
| Draw a sphere. More...
|
|
void | DrawUnitSphere (RMat44Arg inMatrix, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
void | DrawCapsule (RMat44Arg inMatrix, float inHalfHeightOfCylinder, float inRadius, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
void | DrawCylinder (RMat44Arg inMatrix, float inHalfHeight, float inRadius, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
void | DrawOpenCone (RVec3Arg inTop, Vec3Arg inAxis, Vec3Arg inPerpendicular, float inHalfAngle, float inLength, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
void | DrawSwingConeLimits (RMat44Arg inMatrix, float inSwingYHalfAngle, float inSwingZHalfAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
void | DrawSwingPyramidLimits (RMat44Arg inMatrix, float inMinSwingYAngle, float inMaxSwingYAngle, float inMinSwingZAngle, float inMaxSwingZAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
void | DrawPie (RVec3Arg inCenter, float inRadius, Vec3Arg inNormal, Vec3Arg inAxis, float inMinAngle, float inMaxAngle, ColorArg inColor, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
virtual Batch | CreateTriangleBatch (const Triangle *inTriangles, int inTriangleCount)=0 |
| Create a batch of triangles that can be drawn efficiently. More...
|
|
virtual Batch | CreateTriangleBatch (const Vertex *inVertices, int inVertexCount, const uint32 *inIndices, int inIndexCount)=0 |
|
Batch | CreateTriangleBatch (const Array< Triangle > &inTriangles) |
|
Batch | CreateTriangleBatch (const Array< Vertex > &inVertices, const Array< uint32 > &inIndices) |
|
Batch | CreateTriangleBatch (const VertexList &inVertices, const IndexedTriangleNoMaterialList &inTriangles) |
|
Batch | CreateTriangleBatchForConvex (SupportFunction inGetSupport, int inLevel, AABox *outBounds=nullptr) |
|
GeometryRef | CreateTriangleGeometryForConvex (SupportFunction inGetSupport) |
|
virtual void | DrawGeometry (RMat44Arg inModelMatrix, const AABox &inWorldSpaceBounds, float inLODScaleSq, ColorArg inModelColor, const GeometryRef &inGeometry, ECullMode inCullMode=ECullMode::CullBackFace, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid)=0 |
|
void | DrawGeometry (RMat44Arg inModelMatrix, ColorArg inModelColor, const GeometryRef &inGeometry, ECullMode inCullMode=ECullMode::CullBackFace, ECastShadow inCastShadow=ECastShadow::On, EDrawMode inDrawMode=EDrawMode::Solid) |
|
virtual void | DrawText3D (RVec3Arg inPosition, const string_view &inString, ColorArg inColor=Color::sWhite, float inHeight=0.5f)=0 |
| Draw text. More...
|
|
| NonCopyable ()=default |
|
| NonCopyable (const NonCopyable &)=delete |
|
void | operator= (const NonCopyable &)=delete |
|
Implementation of DebugRenderer that records the API invocations to be played back later.