Plasma Engine  2.0
Loading...
Searching...
No Matches
CollectionUtils.h
1#pragma once
2
3#include <Core/Collection/CollectionResource.h>
4
6
7namespace plCollectionUtils
8{
13 PL_CORE_DLL void AddFiles(plCollectionResourceDescriptor& ref_collection, plStringView sAssetTypeName, plStringView sAbsPathToFolder,
14 plStringView sFileExtension, plStringView sStripPrefix, plStringView sPrependPrefix);
15
18 PL_CORE_DLL void MergeCollections(plCollectionResourceDescriptor& ref_result, plArrayPtr<const plCollectionResourceDescriptor*> inputCollections);
19
21 PL_CORE_DLL void DeDuplicateEntries(plCollectionResourceDescriptor& ref_result, const plCollectionResourceDescriptor& input);
22
30 PL_CORE_DLL void AddResourceHandle(plCollectionResourceDescriptor& ref_collection, plTypelessResourceHandle hHandle, plStringView sAssetTypeName, plStringView sAbsFolderpath);
31
32}; // namespace plCollectionUtils
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
This class is optimized to take nearly no memory (sizeof(void*)) and to allow very fast checks whethe...
Definition HashedString.h:25
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
The typeless implementation of resource handles. A typed interface is provided by plTypedResourceHand...
Definition ResourceHandle.h:32
Describes a full plCollectionResource, ie. lists all the resources that the collection contains.
Definition CollectionResource.h:17