QColorMask¶
Allows specifying which color components should be written to the currently bound frame buffer. More…
Synopsis¶
Functions¶
def
isAlphaMasked
()def
isBlueMasked
()def
isGreenMasked
()def
isRedMasked
()
Slots¶
def
setAlphaMasked
(alphaMasked)def
setBlueMasked
(blueMasked)def
setGreenMasked
(greenMasked)def
setRedMasked
(redMasked)
Signals¶
def
alphaMaskedChanged
(alphaMasked)def
blueMaskedChanged
(blueMasked)def
greenMaskedChanged
(greenMasked)def
redMaskedChanged
(redMasked)
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.
- class PySide6.Qt3DRender.Qt3DRender.QColorMask([parent=None])¶
- Parameters
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new Qt3DCore::QColorMask instance with parent
as parent.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.alphaMaskedChanged(alphaMasked)¶
- Parameters
alphaMasked – bool
- PySide6.Qt3DRender.Qt3DRender.QColorMask.blueMaskedChanged(blueMasked)¶
- Parameters
blueMasked – bool
- PySide6.Qt3DRender.Qt3DRender.QColorMask.greenMaskedChanged(greenMasked)¶
- Parameters
greenMasked – bool
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isAlphaMasked()¶
- Return type
bool
Holds whether the component should be written to the frame buffer.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isBlueMasked()¶
- Return type
bool
Holds whether the blue color component should be written to the frame buffer.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isGreenMasked()¶
- Return type
bool
Holds whether the green color component should be written to the frame buffer.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isRedMasked()¶
- Return type
bool
Holds whether the red color component should be written to the frame buffer.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.redMaskedChanged(redMasked)¶
- Parameters
redMasked – bool
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setAlphaMasked(alphaMasked)¶
- Parameters
alphaMasked – bool
Holds whether the component should be written to the frame buffer.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setBlueMasked(blueMasked)¶
- Parameters
blueMasked – bool
Holds whether the blue color component should be written to the frame buffer.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setGreenMasked(greenMasked)¶
- Parameters
greenMasked – bool
Holds whether the green color component should be written to the frame buffer.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setRedMasked(redMasked)¶
- Parameters
redMasked – bool
Holds whether the red color component should be written to the frame buffer.
© 2022 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.