Torque3D Documentation / _generateds / CSVSamplerBackend::SampleRecord

CSVSamplerBackend::SampleRecord

Engine/source/util/sampler.cpp

Value holder for an individual sample.

More...

Public Attributes

bool
bool
const char *
union CSVSamplerBackend::SampleRecord::@215

Public Functions

set(bool value)
set(const char * str)
set(F32 value)
set(S32 value)

Detailed Description

Value holder for an individual sample.

Unfortunately, since the order in which samples arrive at the sampler may vary from frame to frame, we cannot emit data immediately but rather have to buffer it in these sample records and then flush them to disk once we receive the endFrame call.

Public Attributes

bool mBool 
F32 mF32 
U32 mKey 
S32 mS32 
bool mSet 
const char * mString 
U32 mType 
union CSVSamplerBackend::SampleRecord::@215 mValue 

Public Functions

SampleRecord()

SampleRecord(U32 key)

clean()

set(bool value)

set(const char * str)

set(F32 value)

set(S32 value)