Parameter | Description |
---|---|
texture | The texture to filter. |
filtersToApply | The filters the dynamic atlas applies when the delegate returns true .
by default, this value is equal to DynamicAtlasSettings.activeFilters. |
bool
When false
, the texture cannot be added to the atlas. When true
the texture is added to the atlas,
as long as it is not excluded by filtersToApply.
Delegate that can be used as a custom filter for the dynamic atlas.