ColorMask QML Type
允许指定哪些颜色组件应写入当前绑定的帧缓冲区。更多
Import Statement: | import Qt3D.Render 2.9 |
In C++: | QColorMask |
Inherits: | |
Status: | Deprecated |
属性
- alphaMasked : bool
- blueMasked : bool
- greenMasked : bool
- redMasked : bool
详细说明
默认情况下,每个颜色组件(红、绿、蓝、alpha)的属性都设置为true
,这意味着它们将被写入帧缓冲区。将任何颜色组件设置为false
都将阻止其写入帧缓冲区。
属性文档
alphaMasked : bool |
表示是否应将阿尔法分量写入帧缓存。
blueMasked : bool |
是否应将蓝色分量写入帧缓冲区。
greenMasked : bool |
是否应将绿色分量写入帧缓冲区。
redMasked : bool |
确定是否将红色分量写入帧缓冲区。
© 2025 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.