PySide6.Qt3DRender.Qt3DRender.QDithering

class QDithering

Enable dithering. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QDithering

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

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.

__init__([parent=None])
Parameters:

parentQNode

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