pub unsafe extern "C" fn ecs_filter_finalize(
world: *const ecs_world_t,
filter: *mut ecs_filter_t,
) -> c_intExpand description
Finalize filter. When manually assigning an array of terms to the filter struct (so not when using ecs_filter_init), this operation should be used to ensure that all terms are assigned properly and all (derived) fields have been set.
When ecs_filter_init is used to create the filter, this function should not be called. The purpose of this operation is to support creation of filters without allocating memory.
@param filter The filter to finalize. @return Zero if filter is valid, non-zero if it contains errors. @