int ufoProcessCanAvoidRendering( ufoProcess process_instance, int *no_effect_input_index);
Refer to the following table for command descriptions:
|
Command |
Description |
no_effect_input_index |
input to copy to the output when avoidance can be done |
Returns 1: avoidance can be performed, 0: avoidance cannot be performed.
This function is optional. If supplied, it will be called before the rendering any rectangular region of the UFO process outputs. When called, the current values of all parameters can be inquired and used to determine whether the process will have any effect. If processing would have no effect and can be avoided then 1 should be returned and the no_effect_input_index parameter should be set to the input index which the UFO has no effect on. Otherwise 0 should be returned. This replaces a previously unused UFO function ufoProcessHasNoEffect().
Autodesk Softimage v7.5