DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
DekiEditor::AssetExportTarget Struct Reference

The target an asset is stored for: a platform and its screen's format. More...

#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/AssetPipeline.h>

Public Attributes

Deki::Storage::Location assetStorage = Deki::Storage::Internal
Deki::ColorFormat colorFormat = Deki::ColorFormat::ARGB8888
std::string platformId

Detailed Description

The target an asset is stored for: a platform and its screen's format.

An image set to Automatic is stored in the format that suits this screen (TextureFormatResolve.h). The editor's own cache is stored for the project's active platform, so the editor shows what that target gets; an export for another target re-encodes through an AssetExportEncoder.

Member Data Documentation

◆ assetStorage

Deki::Storage::Location DekiEditor::AssetExportTarget::assetStorage = Deki::Storage::Internal

◆ colorFormat

Deki::ColorFormat DekiEditor::AssetExportTarget::colorFormat = Deki::ColorFormat::ARGB8888

◆ platformId

std::string DekiEditor::AssetExportTarget::platformId

The documentation for this struct was generated from the following file: