pub unsafe extern "C" fn obs_source_process_filter_begin(
    filter: *mut obs_source_t,
    format: gs_color_format,
    allow_direct: obs_allow_direct_render
) -> bool
Expand description

Default RGB filter handler for generic effect filters. Processes the filter chain and renders them to texture if needed, then the filter is drawn with

After calling this, set your parameters for the effect, then call obs_source_process_filter_end to draw the filter.

Returns true if filtering should continue, false if the filter is bypassed for whatever reason.