StencilMask QML Type

The StencilMask type controls the front and back writing of individual bits in the stencil planes. 更多...

import 語句: import Qt3D.Render 2.15
Since: Qt 5.7
實例化: QStencilMask
繼承:

RenderState

特性

詳細描述

A StencilMask type specifies the mask for the stencil test. Mask can be specified separately for the front-facing and back-facing polygons. The stencil test reference value and stencil buffer value gets and'd with the mask prior to applying stencil function.

另請參閱 StencilTest .

特性文檔編製

backOutputMask : int

Holds the write mask for the fragment stencil values for back-facing polygons.

frontOutputMask : int

Holds the write mask for the fragment stencil values for front-facing polygons.