QColorMask Class
class Qt3DRender::QColorMaskAllows specifying which color components should be written to the currently bound frame buffer. More...
Header: | #include <QColorMask> |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
Instantiated By: | ColorMask |
Inherits: | Qt3DRender::QRenderState |
This class was introduced in Qt 5.7.
Public Functions
QColorMask(Qt3DCore::QNode *parent = nullptr) |
Detailed Description
By default, the property for each color component (red, green, blue, alpha) is set to true
which means they will be written to the frame buffer. Setting any of the color component to false
will prevent it from being written into the frame buffer.
Member Function Documentation
QColorMask::QColorMask(Qt3DCore::QNode *parent = nullptr)
Constructs a new Qt3DCore::QColorMask instance with parent as parent.