TextureInput QML Type
CustomMaterial 또는 Effect의 셰이더에 노출되는 텍스처를 지정합니다. 더 보기...
| Import Statement: | import QtQuick3D |
| Inherits: |
속성
상세 설명
이 타입은 Effect 의 render pass 이나 CustomMaterial 에서 Texture 를 셰이더에 노출하는 데 사용할 수 있습니다. 주로 셰이더에서 참조할 수 있도록 Texture 에 로컬 이름을 할당하기 위해 존재합니다.
Effect 이나 CustomMaterial 에서 TextureInput 속성이 선언되면, 해당 속성 이름을 통해 모든 셰이더에서 자동으로 샘플러로 사용할 수 있게 됩니다.
속성 설명서
enabled : bool
이 속성은 이 ‘ TextureInput ’ 기능이 활성화되어 있는지 여부를 결정합니다. 기본값은 true입니다. 이 기능이 비활성화되면, 이 효과의 셰이더는 ` texture`로 지정된 텍스처 대신 불투명한 검은색 더미 텍스처를 샘플링합니다.
texture : Texture
이 ` TextureInput `가 간접 참조 역할을 하는 텍스처입니다.
© 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.