#include <filter.h>
FilterInterface allows interfacing with the render filter.
◆ MAXON_INTERFACE()
◆ Set()
Sets a filter parameter.
- Parameters
-
[in] | parameter | The id of the parameter to set |
[in] | data | The data for the parameter |
◆ Execute()
Executes the filter standalone.
- Parameters
-
[in] | input | The input Filter Image |
[in] | output | The target Filter Image |
◆ SetProgressMonitor()
Sets a progress monitor function pointer that gets invoked during the filter execution. There can only be one callback attached at a time. Multiple calls to SetProgressMonitor() will replace the previously attached callback. The callback function is being called with the provided userPtr and a progress in the range [0, 1]. Returning false within the monitor will cancel further execution of the filter.
- Parameters
-
[in] | progressMonitor | The progress monitor function |
[in] | userPtr | A custom user ptr that gets passed to the function pointer. |