このページでは

ColorMask QML Type

現在バインドされているフレームバッファに、どの色成分を書き込むかを指定できます。詳細...

Import Statement: import Qt3D.Render 2.12
In C++: QColorMask
Inherits:

RenderState

Status: Deprecated

この型は非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

詳細な説明

デフォルトでは、各色成分(赤、緑、青、アルファ)のプロパティはtrue に設定されており、これらはフレームバッファに書き込まれます。いずれかの色成分をfalse に設定すると、その成分がフレームバッファに書き込まれるのを防ぐことができます。

プロパティのドキュメント

alphaMasked : bool

アルファ成分をフレームバッファに書き込むかどうかを指定します。

blueMasked : bool

青色の色成分をフレームバッファに書き込むかどうかを指定します。

greenMasked : bool

緑色の色成分をフレームバッファに書き込むかどうかを指定します。

redMasked : bool

赤の色成分をフレームバッファに書き込むかどうかを指定します。

© 2026 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.