testing building some core systems
- serialization - chunks - parralelfor test
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace Nerfed.Runtime.Scene;
|
||||
|
||||
/// <summary>
|
||||
/// Abstraction over a concrete scene format (JSON, binary, …).
|
||||
/// Implementations read and write <see cref="SceneData"/> to a <see cref="Stream"/>,
|
||||
/// making it straightforward to add a compact binary format later without
|
||||
/// changing any of the surrounding scene infrastructure.
|
||||
/// </summary>
|
||||
public interface ISceneSerializer
|
||||
{
|
||||
void Serialize(SceneData scene, Stream stream);
|
||||
SceneData Deserialize(Stream stream);
|
||||
}
|
||||
Reference in New Issue
Block a user