BufferSerializer Class
Namespace: Stride.Graphics.DataAssembly: Stride.Graphics.dll
Serializer for Buffer.
Derived from BufferSerializer:
public class BufferSerializer : DataSerializer<Buffer>
Name | Description | |
---|---|---|
Methods | ||
PreSerialize(ref Buffer, ArchiveMode, SerializationStream) | ||
Serialize(ref Buffer, ArchiveMode, SerializationStream) |
Methods
PreSerialize(ref Buffer, ArchiveMode, SerializationStream)
public override void PreSerialize(ref Buffer buffer, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
Buffer | buffer | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<Stride.Graphics.Buffer>.PreSerialize(Stride.Graphics.Buffer, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)
Serialize(ref Buffer, ArchiveMode, SerializationStream)
public override void Serialize(ref Buffer buffer, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
Buffer | buffer | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<Stride.Graphics.Buffer>.Serialize(Stride.Graphics.Buffer, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)