| 148 | } |
| 149 | |
| 150 | void 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 | |
| 164 | bool ReflectorDesc::preload( bool server, String &errorStr ) |
| 165 | { |