Class SamplerStateSerializer
Serializer for SamplerState.
[DataSerializerGlobal(typeof(SamplerStateSerializer), null, DataSerializerGenericMode.None, false, false)]
public class SamplerStateSerializer : DataSerializer<SamplerState>
- Inheritance
-
SamplerStateSerializer
- Inherited Members
Methods
Serialize(ref SamplerState, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref SamplerState samplerState, ArchiveMode mode, SerializationStream stream)
Parameters
samplerState
SamplerStatemode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.