It is valid for a plug-in to both Filter and Compositor.
If both flags are set, the user will be able to select it from both the Filter list and from the Compositor list. The plug-in will know it is running as a filter when the foreground map pointer is NULL.
Defines |
|
| #define | IMGFLT_NONE 0 |
| None. |
|
| #define | IMGFLT_MASK (1<<0) |
| Supports Masking. |
|
| #define | IMGFLT_CONTROL (1<<1) |
| This informs the system to call the plug-ins
ShowControl() method when the user selects the Setup button.
|
|
| #define | IMGFLT_FILTER (1<<2) |
| Plug-In is a Filter. |
|
| #define | IMGFLT_COMPOSITOR (1<<3) |
| If the plug-in is a layer type of filter, it
should set this bit. |
|
| #define | IMGFLT_THREADED (1<<4) |
| If this flag is NOT set, 3ds Max will avoid
multithreading this plug-in. |
|
| #define IMGFLT_NONE 0 |
| #define IMGFLT_MASK (1<<0) |
Supports Masking.
| #define IMGFLT_CONTROL (1<<1) |
This informs the system to call the plug-ins ShowControl() method when the user selects the Setup button.
If the filter does not have a control panel do not set this bit and the setup button will be grayed out in the 3ds Max user interface. Plug-In has a Control Panel
| #define IMGFLT_FILTER (1<<2) |
Plug-In is a Filter.
| #define IMGFLT_COMPOSITOR (1<<3) |
If the plug-in is a layer type of filter, it should set this bit.
Plug-In is a Compositor
| #define IMGFLT_THREADED (1<<4) |
If this flag is NOT set, 3ds Max will avoid multithreading this plug-in.
Thread aware plug-in