RasterMode QML Type
RasterMode 渲染状态允许控制要执行的光栅化类型。更多
Import Statement: | import Qt3D.Render 2.9 |
In C++: | QRasterMode |
Inherits: | |
Status: | Deprecated |
属性
- faceMode : enumeration
- rasterMode : enumeration
详细说明
QRasterMode 类用于在渲染时控制基元的光栅化步骤。它可用于选择是否只显示点、边缘或填充基元。
注意: 在 OpenGL ES 2.0 平台上渲染时不支持此功能。
另请参阅 AlphaTest 和StencilTest 。
属性文档
faceMode : enumeration |
持有要使用的面模式。控制在哪个面上应用光栅模式。
- 正面 仅适用于正面
- 仅适用于背面
- FrontAndBack 应用于正面和背面
rasterMode : enumeration |
保持要使用的光栅模式。
- 点(Points) 边缘起点的顶点绘制为点。
- 线 将多边形的边缘绘制为线段。
- 填充 填充基元的内部。
© 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.