Cogs.Core
AssetWriteFlags.h
1#pragma once
2
3#include "Foundation/Reflection/Name.h"
4
5namespace Cogs::Core
6{
8 enum class AssetWriteFlags : uint32_t
9 {
11 None = 0,
13 Geometry = 1,
15 PrettyPrint = 2,
17 Strip = 4,
19 Compress = 8,
21 Hierarchy = 16
22 };
23 ENABLE_ENUM_FLAGS(AssetWriteFlags);
24}
25template<> inline Cogs::StringView getName<Cogs::Core::AssetWriteFlags>() { return "AssetWriteFlags"; }
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
AssetWriteFlags
Flags that control serialization of assets.
@ Strip
Strip away names and other data that is not strictly necessary.
@ Hierarchy
Save all children, not only children in EntityStore.
@ Compress
Compress resulting JSON using zstd, which is automatically recognized during reading.
@ Geometry
Store entity vector fields (vector<vec3>, vector<vec2>, vector<int>, vector<float>).
@ PrettyPrint
Create human-readable JSON, that is, indentation and multiple lines.