允许应该把哪些指定颜色分量写入目前绑定的帧缓冲。 更多...
导入语句: | import Qt3D.Render 2.2 |
Since: | Qt 5.7 |
实例化: | QColorMask |
继承: | RenderState |
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.
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.