This reference page is linked to from the following overview topics: Mental Ray Classes.
#include <IMtlBrowserFilter.h>
Public Member Functions |
|
| virtual const MCHAR * | FilterName ()=0 |
| Returns the name of the filter. |
|
| virtual bool | Enabled ()=0 |
| Returns if this filter is enabled. |
|
| virtual void | Enable (bool enable)=0 |
| Used to enable/disable this filter. |
|
| virtual void | Registered ()=0 |
| Called when this filter is added to the
manager. |
|
| virtual void | Unregistered ()=0 |
| Called when a filter is removed from the
manager. |
|
| virtual bool | Include (MtlBase &mtlBase, DWORD flags)=0 |
| Returns whether the given material/map
should be included in the browser, when browsing for existing
materials/maps. |
|
| virtual bool | Include (ClassDesc &classDesc, DWORD flags)=0 |
| Returns whether the given material/map
should be included in the browser, when browsing for 'new'.
|
|
| virtual Interface_ID | GetID () |
| virtual const MCHAR* FilterName | ( | ) | [pure virtual] |
| virtual bool Enabled | ( | ) | [pure virtual] |
Returns if this filter is enabled.
The filter manager will not call disabled filters.
Implemented in mrShaderFilter.
| virtual void Enable | ( | bool | enable | ) | [pure virtual] |
Used to enable/disable this filter.
| enable | - if false, disable this filter by returning false from Enabled |
Implemented in mrShaderFilter.
| virtual void Registered | ( | ) | [pure virtual] |
Called when this filter is added to the manager.
Implemented in mrShaderFilter.
| virtual void Unregistered | ( | ) | [pure virtual] |
Called when a filter is removed from the manager.
Implemented in mrShaderFilter.
| virtual bool Include | ( | MtlBase & | mtlBase, |
| DWORD | flags | ||
| ) | [pure virtual] |
Returns whether the given material/map should be included in the browser, when browsing for existing materials/maps.
| mtlBase | - The material/texmap to be filtered |
| flags | - See the List of Material Browser Flags. |
Implemented in mrShaderFilter.
| virtual bool Include | ( | ClassDesc & | classDesc, |
| DWORD | flags | ||
| ) | [pure virtual] |
Returns whether the given material/map should be included in the browser, when browsing for 'new'.
| classDesc | - The material/map class descriptor to be filtered |
| flags | - See the List of Material Browser Flags. |
Implemented in mrShaderFilter.
| Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{
return IMTLBROWSERFILTER_INTERFACEID;
}