BufferInput QML Type

Defines an input buffer to be used as input for a pass of an Effect. More...

Import Statement: import QtQuick3D .
Inherits:

Command

Properties

Detailed Description

BufferInput is a Command which can be added to the list of commands in the Pass of an Effect. When executed, it will expose the buffer as a sample to the shaders in the render pass. The shaders must declare a sampler with the name given in the BufferInput's sampler property.

This can be used for sharing intermediate results between the different passes of an effect.

See also TextureInput.

Property Documentation

buffer : Buffer

Specifies the buffer which should be exposed to the shader.


sampler : string

Specifies the name under which the buffer is exposed to the shader. When this property is not set, the buffer is exposed with the built-in name INPUT.


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