namespace Nerfed.Runtime.Scene; /// /// Abstraction over a concrete scene format (JSON, binary, …). /// Implementations read and write to a , /// making it straightforward to add a compact binary format later without /// changing any of the surrounding scene infrastructure. /// public interface ISceneSerializer { void Serialize(SceneData scene, Stream stream); SceneData Deserialize(Stream stream); }