BufferInput QML Type
定义一个输入缓冲区,作为效果传递的输入。更多
Import Statement: | import QtQuick3D |
Inherits: |
属性
详细说明
BufferInput 是一个Command ,可以添加到Effect 的Pass 命令列表中。执行时,它会将缓冲区作为采样暴露给渲染通道中的着色器。着色器必须使用 BufferInput 的sampler
属性中给出的名称声明采样器。
这可用于在效果的不同通道之间共享中间结果。
另请参阅 TextureInput 。
属性文档
sampler : string |
指定将缓冲区暴露给着色器的名称。未设置此属性时,缓冲区将以内置名称INPUT
公开。
© 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.