Torque3D Documentation / _generateds / afxSampleBuffer

afxSampleBuffer

Engine/source/afx/afxConstraint.h

More...

Protected Functions

bool
bool
compute_idx_from_lag(F32 lag, U32 & idx1, U32 & idx2, F32 & t)
recSample(U32 idx, void * data)

Public Functions

configHistory(F32 hist_len, U8 sample_rate)
getSample(F32 lag, void * data, bool & oob)
recordSample(F32 dt, U32 elapsed_ms, void * data)

Detailed Description

Protected Attributes

U32 mBuffer_ms 
U32 mBuffer_sz 
U32 mElapsed_ms 
U32 mLast_sample_ms 
U32 mMS_per_sample 
U32 mNext_sample_num 
U32 mNum_samples 

Protected Functions

compute_idx_from_lag(F32 lag, U32 & idx)

compute_idx_from_lag(F32 lag, U32 & idx1, U32 & idx2, F32 & t)

recSample(U32 idx, void * data)

Reimplemented by: afxSampleXfmBuffer

Public Functions

afxSampleBuffer()

~afxSampleBuffer()

configHistory(F32 hist_len, U8 sample_rate)

Reimplemented by: afxSampleXfmBuffer

getSample(F32 lag, void * data, bool & oob)

Reimplemented by: afxSampleXfmBuffer

recordSample(F32 dt, U32 elapsed_ms, void * data)