| UContentBrowserDataSource::CompileFilter()
|
Module |
|
Header |
/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Source/ContentBrowserFileDataSource/Public/ContentBrowserFileDataSource.h |
Include |
#include "ContentBrowserFileDataSource.h" |
Source |
/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Source/ContentBrowserFileDataSource/Private/ContentBrowserFileDataSource.cpp |
virtual void CompileFilter
(
const FName InPath,
const FContentBrowserDataFilter & InFilter,
FContentBrowserDataCompiledFilter & OutCompiledFilter
)
Given a path and a data filter, produce an optimized filter that can be used to efficiently enumerate items that match it, and also query whether an item would pass it. @note This function must not block waiting on content discovery! It should use the current state as known at this point in time. @note A compiled filter should be short-lived (no more than 1 frame).
Parameter |
Description |
---|---|
InPath |
The virtual path to search for items under. |
InFilter |
Rules describing how items should be filtered. |
OutCompiledFilter |
The compiled filter instance to fill with the result. |