이 페이지에서

TextureProviderExtension QML Type (Uncreatable)

텍스처를 생성하는 렌더링 확장 기능을 위한 추상 기본 유형입니다. 더 보기...

Import Statement: import QtQuick3D
Since: Qt 6.11
In C++: QQuick3DTextureProviderExtension
Inherits:

RenderExtension

Inherited By:

QuadTextureProvider and RenderOutputProvider

참고: 이 타입은 생성할 수 없는 타입입니다. QML에서 인스턴스화할 수 없습니다.

열거형

속성

상세 설명

TextureProviderExtension은 GPU 텍스처를 Qt Quick 3D 씬에 노출하는 렌더 확장 기능을 위한, 생성할 수 없는 추상 기본 유형입니다. 하위 클래스(예: RenderOutputProvider)는 Texture 의 textureProvider 속성에 할당될 수 있으며, 이로 인해 씬에서 텍스처가 필요할 때 확장 기능의 렌더 코드가 자동으로 실행됩니다.

RenderOutputProvider, QQuick3DTextureProviderExtension 및 QSSGRenderExtension도 참조하십시오 .

열거형 문서

[since 6.11] SamplerHint

이 확장 기능이 제공하는 텍스처의 유형에 대한 정보를 지정합니다.

상수설명
TextureProviderExtension.Sampler2D2D 텍스처
TextureProviderExtension.Sampler2DArray배열 텍스처
TextureProviderExtension.Sampler3D3D 텍스처
TextureProviderExtension.SamplerCube큐브 맵 텍스처
TextureProviderExtension.SamplerCubeArray큐브 맵 텍스처 배열
TextureProviderExtension.SamplerBuffer버퍼 텍스처

이 열거형은 Qt 6.11에서 도입되었습니다.

속성 설명서

samplerHint : SamplerHint [since 6.11]

이 속성에는 확장 기능이 제공할 텍스처 유형에 대한 정보가 포함되어 있습니다. 텍스처 데이터는 필요할 때까지 제공되지 않지만, Texture 컴포넌트를 사용하는 머티리얼은 어떤 유형의 샘플러를 제공해야 하는지 알아야 하기 때문에 이 정보가 필요합니다.

기본값은 ` TextureProviderExtension.Sampler2D`입니다.

참고: 이 속성은 CustomMaterials를 사용할 때만 사용됩니다.

이 속성은 Qt 6.11에서 도입되었습니다.

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