Class TextureSerializer
Serializer for Texture.
public class TextureSerializer : DataSerializer<Texture>- Inheritance
- 
      objectTextureSerializer
- Inherited Members
Methods
PreSerialize(ref Texture, ArchiveMode, SerializationStream)
Performs the first step of serialization or deserialization.
public override void PreSerialize(ref Texture texture, ArchiveMode mode, SerializationStream stream)Parameters
- textureTexture
- modeArchiveMode
- The serialization mode. 
- streamSerializationStream
- The stream to serialize or deserialize to. 
Remarks
Typically, it will instantiate the object if [null], and if it's a collection clear it.
Serialize(ref Texture, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj.
public override void Serialize(ref Texture texture, ArchiveMode mode, SerializationStream stream)Parameters
- textureTexture
- modeArchiveMode
- The serialization mode. 
- streamSerializationStream
- The stream to serialize or deserialize to.