Method CalculateResolution
CalculateResolution(ImageNodeBase, int, int)
Calculates the effective working resolution for an image node based on its override mode and multiplier settings.
public static int CalculateResolution(this ImageNodeBase n, int graphResolution, int mainInputResolution)
Parameters
nImageNodeBaseImage node to evaluate.
graphResolutionintBase graph resolution for the current request.
mainInputResolutionintResolution of the node's main upstream input.
Returns
- int
The final resolution rounded up to a multiple of 8.