ClearBuffers QML Type
用于清空缓冲区的类。更多...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QClearBuffers |
| Inherits: | |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- buffers : enumeration
- clearColor : color
- clearDepthValue : real
- clearStencilValue : int
- colorBuffer : RenderTargetOutput
详细说明
Qt3DRender::QClearBuffers 的FrameGraph节点支持使用特定值清空特定的渲染目标缓冲区。
属性文档
buffers : enumeration
指定要使用的缓冲区类型。
clearColor : color
指定要使用的清除颜色。
clearDepthValue : real
指定要使用的清除深度值。
clearStencilValue : int
指定要使用的模板值。
colorBuffer : RenderTargetOutput
指定要清空的特定颜色缓冲区。如果设置为 NULL(默认值),且 ColorBuffer 标志已设置,则将清空所有颜色缓冲区。
© 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.