ColorMask QML Type

允許應該把哪些指定顔色分量寫入目前綁定的幀緩衝。 更多...

import 語句: import Qt3D.Render 2.0
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.