#include <filter.h>
FilterInterface allows interfacing with the render filter.
◆ MAXON_INTERFACE()
◆ Set()
Sets Filter parameter
- Parameters
-
[in] | parameter | Parameter to set |
[in] | data | Data for 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. Only a single callback function can be registered, the next call to SetProgressMonitor overwrites the old one. The monitor function pointer gets called with provided userPtr and a progress in the range [0, 1]. Returning false within the monitor will cancel the filter execution.
- Parameters
-
[in] | progressMonitor | The progress monitor function |
[in] | userPtr | A custom user ptr that gets passed to the function pointer. |