Cogs.Core
AssetWriter.h
1#pragma once
2
3#include "Base.h"
4#include "AssetWriteFlags.h"
5
6#include "Foundation/StringView.h"
7#include "Foundation/ComponentModel/Entity.h"
8
9namespace Cogs::Core
10{
11 bool COGSCORE_DLL_API writeAsset(class Context * context, StringView fileName, AssetWriteFlags flags = AssetWriteFlags::None, ComponentModel::Entity * root = nullptr);
12
13 bool COGSCORE_DLL_API writeAsset(class Context* context, const char* path, AssetHandle asset, AssetWriteFlags writeFlags);
14}
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
AssetWriteFlags
Flags that control serialization of assets.