MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / SerializeValue

Method SerializeValue

SampleFramework12/v1.00/Settings.h:204–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 int32 MaxValue() const { return maxVal; };
203
204 template<typename TSerializer> void SerializeValue(TSerializer& serializer)
205 {
206 Assert_(initialized);
207 SerializeItem(serializer, val);
208 if(serializer.IsReadSerializer())
209 val = Clamp(val, minVal, maxVal);
210 }
211};
212
213// Boolean setting

Callers

nothing calls this directly

Calls 3

SerializeItemFunction · 0.85
ClampFunction · 0.85
IsReadSerializerMethod · 0.45

Tested by

no test coverage detected