3ds Max C++ API Reference
ImageFilter Capability Flags

It is valid for a plug-in to both Filter and Compositor. More...

Macros

#define IMGFLT_NONE   0
 None. More...
 
#define IMGFLT_MASK   (1<<0)
 Supports Masking. More...
 
#define IMGFLT_CONTROL   (1<<1)
 This informs the system to call the plug-ins ShowControl() method when the user selects the Setup button. More...
 
#define IMGFLT_FILTER   (1<<2)
 Plug-In is a Filter. More...
 
#define IMGFLT_COMPOSITOR   (1<<3)
 If the plug-in is a layer type of filter, it should set this bit. More...
 
#define IMGFLT_THREADED   (1<<4)
 If this flag is NOT set, 3ds Max will avoid multithreading this plug-in. More...
 

Detailed Description

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.

Macro Definition Documentation

◆ IMGFLT_NONE

#define IMGFLT_NONE   0

None.

◆ IMGFLT_MASK

#define IMGFLT_MASK   (1<<0)

Supports Masking.

◆ IMGFLT_CONTROL

#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

◆ IMGFLT_FILTER

#define IMGFLT_FILTER   (1<<2)

Plug-In is a Filter.

◆ IMGFLT_COMPOSITOR

#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

◆ IMGFLT_THREADED

#define IMGFLT_THREADED   (1<<4)

If this flag is NOT set, 3ds Max will avoid multithreading this plug-in.

Thread aware plug-in