image_numpasses#

file.image_numpasses(p0: int) int#

Specify the number of rendering passes for anti-aliasing. The higher the number of rendering passes the better the anti-aliasing but the longer it will take to render. This parameter is independent of any possible anti-aliasing settings for the hardware, i.e., if the hardware is set for 4x antialiasing and this parameter is set to 2 you will still render two passes, each pass with 4x antialiasing.

There is no guarantee that if an image is rendered to an offscreen buffer that this buffer have the same hardware antialiasing depth available as the main graphics window.
Args:
p0:

‘value’ The number of rendering passes

Examples:
ensight.file.image_numpasses(4)
ensight.file.image_stereo("current")
ensight.file.image_format("evo")
ensight.file.image_file("/tmp/abc")
ensight.file.save_image()
Returns:

zero on success, non-zero on error