BufferInput QML Type
Definisce un buffer di input da utilizzare come input per un passaggio di un effetto. Maggiori informazioni...
| Import Statement: | import QtQuick3D |
| Inherits: |
Proprietà
Descrizione dettagliata
BufferInput è un oggetto di tipo " Command " che può essere aggiunto all'elenco dei comandi nell'Pass di un Effect. Una volta eseguito, renderà visibile il buffer come campione agli shader nel passaggio di rendering. Gli shader devono dichiarare un campionatore con il nome specificato nella proprietà sampler di BufferInput.
Questa funzione può essere utilizzata per condividere risultati intermedi tra i diversi passaggi di un effetto.
Vedi anche TextureInput.
Documentazione delle proprietà
buffer : Buffer
Specifica l'buffer e che deve essere reso disponibile allo shader.
sampler : string
Specifica il nome con cui il buffer viene reso disponibile allo shader. Quando questa proprietà non è impostata, il buffer viene reso disponibile con il nome predefinito “ INPUT ”.
© 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.