3#include <EditorFramework/EditorFrameworkDLL.h>
4#include <Foundation/Reflection/Reflection.h>
5#include <Foundation/Types/Status.h>
9enum class plAssetDocGeneratorPriority
37 plAssetDocGeneratorPriority m_Priority = plAssetDocGeneratorPriority::Undecided;
49 static void ImportAssets();
85 void AppendFileFilterStrings(
plStringBuilder& out_sFilter,
bool& ref_bSemicolon)
const;
89 struct ImportGroupOptions
94 plInt32 m_iSelectedOption = -1;
Provides functionality for importing files as asset documents.
Definition AssetDocumentGenerator.h:23
virtual void GetImportModes(plStringView sAbsInputFile, plDynamicArray< ImportMode > &out_modes) const =0
Used to fill out which import modes may be available for the given asset.
virtual plStatus Generate(plStringView sInputFileAbs, plStringView sMode, plDynamicArray< plDocument * > &out_generatedDocuments)=0
Tells the generator to create a new asset document with the chosen mode.
virtual plStringView GetDocumentExtension() const =0
Returns the target asset document file extension.
virtual plStringView GetGeneratorGroup() const =0
Allows to merge the import modes of multiple generators in the UI in one group.
Definition DynamicArray.h:81
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Definition AssetImportDlg.moc.h:9
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
plStringBuilder is a class that is meant for creating and modifying strings.
Definition StringBuilder.h:35
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
Describes one option to import an asset.
Definition AssetDocumentGenerator.h:35
An plResult with an additional message for the reason of failure.
Definition Status.h:12