HDK
|
#include <STY_ResultsFilter.h>
Public Member Functions | |
STY_MaterialResultsFilter () | |
bool | acceptsFurtherOverrides (const STY_Style &style) const override |
![]() | |
STY_ResultsFilter (const char *category_mask=nullptr) | |
virtual | ~STY_ResultsFilter () |
virtual bool | acceptsCategory (const UT_StringHolder &category_name) const |
Returns true if the filter allows the overrides from the given category. More... | |
Additional Inherited Members | |
![]() | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
This predefined filter eliminates all results of lower precedence if it detects a result setting the current material. This is because lower precedence results are most likely directed at the lower precedence material assignment, and so should only affect that material, not the newly assigned material.
Definition at line 55 of file STY_ResultsFilter.h.
|
inline |
Definition at line 58 of file STY_ResultsFilter.h.
|
overridevirtual |
Returns true if the filter allows the overrides from style sheet entries of lower precedence level than the given style entry. Usually the overrides from all matching entries are allowed, but sometimes an entery may block any further overrides, eg, if an style contains 'material' override, andy lower level overrides for 'materialParameters' need to be disregarded, since they were intended for the old material.
Reimplemented from STY_ResultsFilter.