TextureInput QML Type

CustomMaterial 또는 효과의 셰이더에 노출되는 텍스처를 지정합니다. 더 보기...

Import Statement: import QtQuick3D
Inherits:

QtObject

속성

상세 설명

Effectrender pass 또는 CustomMaterialTexture 를 셰이더에 노출하는 데 사용할 수 있는 유형입니다. 주로 셰이더에서 참조할 수 있는 Texture 에 로컬 이름을 할당하기 위해 존재합니다.

TextureInput 프로퍼티가 Effect 또는 CustomMaterial 에 선언되면 해당 프로퍼티 이름으로 모든 셰이더에서 자동으로 샘플러로 사용할 수 있습니다.

프로퍼티 문서

enabled : bool

이 프로퍼티는 TextureInput 의 활성화 여부를 결정합니다. 기본값은 true입니다. 비활성화하면 이펙트의 셰이더는 texture 에 지정된 텍스처 대신 더미 불투명 검정 텍스처를 샘플링합니다.


texture : Texture

TextureInput 이 인디렉션으로 사용되는 텍스처입니다.


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