Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
DebugRendererPlayback Class Reference

Class that can read a recorded stream from DebugRendererRecorder and plays it back trough a DebugRenderer. More...

#include <DebugRendererPlayback.h>

Public Member Functions

 DebugRendererPlayback (DebugRenderer &inRenderer)
 Constructor. More...
 
void Parse (StreamIn &inStream)
 Parse a stream of frames. More...
 
uint GetNumFrames () const
 Get the number of parsed frames. More...
 
void DrawFrame (uint inFrameNumber) const
 Draw a frame. More...
 

Detailed Description

Class that can read a recorded stream from DebugRendererRecorder and plays it back trough a DebugRenderer.

Constructor & Destructor Documentation

◆ DebugRendererPlayback()

DebugRendererPlayback::DebugRendererPlayback ( DebugRenderer inRenderer)
inline

Constructor.

Member Function Documentation

◆ DrawFrame()

void DebugRendererPlayback::DrawFrame ( uint  inFrameNumber) const

Draw a frame.

◆ GetNumFrames()

uint DebugRendererPlayback::GetNumFrames ( ) const
inline

Get the number of parsed frames.

◆ Parse()

JPH_NAMESPACE_BEGIN void DebugRendererPlayback::Parse ( StreamIn inStream)

Parse a stream of frames.


The documentation for this class was generated from the following files: