ColorMask QML Type

Allows specifying which color components should be written to the currently bound frame buffer. More...

Import Statement: import Qt3D.Render 2.14
Since: Qt 5.7
Instantiates: QColorMask
Inherits:

RenderState

Properties

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.

Property Documentation

alphaMasked : bool

Holds whether alpha component should be written to the frame buffer.


blueMasked : bool

Holds whether blue color component should be written to the frame buffer.


greenMasked : bool

Holds whether green color component should be written to the frame buffer.


redMasked : bool

Holds whether red color component should be written to the frame buffer.


© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.