内容表

上一话题

Qt3DRender.QDispatchCompute

下一话题

Qt3DRender.QEffect

Qt3DRender.QDithering

Enable dithering. 更多

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QDithering

详细描述

A QDithering class enables dithering. Dithering adds noise to the color values to randomize quantization error in order to prevent large scale patterns in the final image, such as banding. Dithering is most useful when rendering to a surface with low color bit depth, such as RGB565 or RGBA4444.

class PySide2.Qt3DRender.Qt3DRender. QDithering ( [ parent=None ] )
param parent

QNode

The constructor creates a new QDithering instance with the specified parent .