QColorMask

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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QColorMask

Synopsis

Functions

Slots

Signals

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 PySide2.Qt3DRender.Qt3DRender.QColorMask([parent=None])

Constructs a new Qt3DCore::QColorMask instance with parent as parent.

PySide2.Qt3DRender.Qt3DRender.QColorMask.alphaMaskedChanged(alphaMasked)
Parameters:

alphaMasked – bool

PySide2.Qt3DRender.Qt3DRender.QColorMask.blueMaskedChanged(blueMasked)
Parameters:

blueMasked – bool

PySide2.Qt3DRender.Qt3DRender.QColorMask.greenMaskedChanged(greenMasked)
Parameters:

greenMasked – bool

PySide2.Qt3DRender.Qt3DRender.QColorMask.isAlphaMasked()
Return type:

bool

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

PySide2.Qt3DRender.Qt3DRender.QColorMask.isBlueMasked()
Return type:

bool

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

PySide2.Qt3DRender.Qt3DRender.QColorMask.isGreenMasked()
Return type:

bool

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

PySide2.Qt3DRender.Qt3DRender.QColorMask.isRedMasked()
Return type:

bool

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

PySide2.Qt3DRender.Qt3DRender.QColorMask.redMaskedChanged(redMasked)
Parameters:

redMasked – bool

PySide2.Qt3DRender.Qt3DRender.QColorMask.setAlphaMasked(alphaMasked)
Parameters:

alphaMasked – bool

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

PySide2.Qt3DRender.Qt3DRender.QColorMask.setBlueMasked(blueMasked)
Parameters:

blueMasked – bool

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

PySide2.Qt3DRender.Qt3DRender.QColorMask.setGreenMasked(greenMasked)
Parameters:

greenMasked – bool

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

PySide2.Qt3DRender.Qt3DRender.QColorMask.setRedMasked(redMasked)
Parameters:

redMasked – bool

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