Vixen
02b45cc4
csharp
public static class YamlSerializer

Binds a YamlNode tree to typed objects, and back.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Everything goes through the generated type registry. A member is found through a TypeDescriptor, read and written through the lambdas the reflection generator emitted, and a !TextureImporter tag is resolved by asking TypeRegistry what claims that name. Nothing here calls PropertyInfo.GetValue, walks an assembly, or builds a generic method at runtime, so reading a .meta file works on a trimmed NativeAOT build — which is the property Phase 3 exists to establish before the codebase is large enough for it to be expensive.

This is not a frame-loop API. Every member read and write boxes, because that is what a descriptor's accessors do. It is for import, tooling and boot-time configuration, where one allocation per property is invisible; runtime asset data goes through the binary serializer instead.

Methods (6)

Used by (50, showing 40)

  • FrameDocumentTestsThirdPersonShooter.Frame.Tests
  • VirtualGeometryGameVirtualGeometry
  • AssetMetaFileVixen.Core.Yaml
  • BufferTransferTestsVixen.Rendering.Tests
  • CompositorAssetTestsVixen.Rendering.Tests
  • GpuDrivenCompositorTestsVixen.Rendering.Tests
  • MetaTestsVixen.Core.Yaml.Tests
  • SceneRenderHostTestsVixen.Engine.Renderer.Tests
  • SerializerTestsVixen.Core.Yaml.Tests
  • VirtualGeometryDeviceTestsVixen.Graphics.Golden.Tests
  • WorldRendererTestsVixen.Engine.Renderer.Tests
  • AddressableGroupDocumentVixen.Editor.AssetEditors
  • AddressableGroupDocumentTestsVixen.Editor.AssetEditors.Tests
  • AnimationBinderVixen.Editor.AssetEditors
  • AnimationClipAssetVixen.Editor.Assets
  • AnimationGraphDocumentVixen.Editor.AssetEditors
  • AnimationGraphTestsVixen.Editor.AnimationGraph.Tests
  • AudioMixerDocumentVixen.Editor.AssetEditors
  • CompositorDocumentVixen.Editor.AssetEditors
  • CompositorImporterVixen.Editor.Assets
  • EditorApplicationVixen.Editor.App
  • EditorScriptTestsVixen.Editor.Scripts.Tests
  • FontAssetVixen.Editor.AssetEditors
  • HarnessDocumentVixen.Editor.AssetEditors
  • ImportSettingsDocumentVixen.Editor.AssetEditors
  • InProcessImportExecutorVixen.Editor.Assets
  • ManifestTestsVixen.Editor.Plugin.Tests
  • MaterialAssetVixen.Editor.AssetEditors
  • MaterialImporterVixen.Editor.Assets
  • MaterialTestsVixen.Editor.AssetEditors.Tests
  • MoveSetDocumentVixen.Editor.AssetEditors
  • NodeGraphModelTestsVixen.Editor.NodeGraph.Tests
  • PluginDiscoveryVixen.Editor.Plugin
  • ProjectSettingsStoreVixen.Editor.Core
  • ProjectWorkspaceVixen.Editor.Assets
  • ProxyShapeDocumentVixen.Editor.AssetEditors
  • ProxyShapeSetImporterVixen.Editor.Assets
  • SceneFileVixen.Editor.Core
  • SceneSerializerVixen.Editor.SceneView
  • SequenceAssetVixen.Editor.AssetEditors