In questa pagina

ColorMask QML Type

Consente di specificare quali componenti di colore devono essere scritti nel frame buffer attualmente associato. Maggiori informazioni...

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

RenderState

Status: Deprecated

Questo tipo è deprecato. Se ne sconsiglia vivamente l'uso nel nuovo codice.

Proprietà

Descrizione dettagliata

Per impostazione predefinita, la proprietà di ciascuna componente di colore (rosso, verde, blu, alfa) è impostata su " true ", il che significa che verrà scritta nel frame buffer. Impostando una qualsiasi delle componenti di colore su " false " si impedirà che venga scritta nel frame buffer.

Documentazione delle proprietà

alphaMasked : bool

Indica se la componente alfa deve essere scritta nel frame buffer.

blueMasked : bool

Indica se la componente di colore blu deve essere scritta nel frame buffer.

greenMasked : bool

Indica se la componente di colore verde deve essere scritta nel frame buffer.

redMasked : bool

Indica se la componente di colore rossa deve essere scritta nel frame buffer.

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