MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / unpackData

Method unpackData

Engine/source/scene/reflector.cpp:150–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void ReflectorDesc::unpackData( BitStream *stream )
151{
152 Parent::unpackData( stream );
153
154 stream->read( &texSize );
155 stream->read( &nearDist );
156 stream->read( &farDist );
157 stream->read( &objectTypeMask );
158 stream->read( &detailAdjust );
159 stream->read( &priority );
160 stream->read( &maxRateMs );
161 useOcclusionQuery = stream->readFlag();
162}
163
164bool ReflectorDesc::preload( bool server, String &errorStr )
165{

Callers

nothing calls this directly

Calls 2

readFlagMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected