AbstractTexture QML Type
텍스처를 제공하는 데 사용되는 베이스 클래스입니다. 더 보기...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QAbstractTexture |
| Status: | Deprecated |
속성
- ComparisonFunction : ComparisonFunction
- ComparisonMode : ComparisonMode
- depth : int
- format : TextureFormat
- generateMipMaps : bool
- handle : var
- handleType : enumeration
- height : int
- layers : int
- magnificationFilter : Filter
- maximumAnisotropy : bool
- minificationFilter : Filter
- samples : int
- status readonly : Status
- target readonly : Target
- width : int
- wrapMode : QTextureWrapMode
상세 설명
AbstractTexture 클래스는 직접 사용하는 것이 아니라 그 서브클래스 중 하나를 통해 사용해야 합니다. 각 서브클래스는 주어진 텍스처 타깃(2D, 2DArray, 3D, CubeMap...)을 구현합니다. 각 서브클래스는 각 레이어, 큐브맵 면, 밉맵 레벨에 대한 펙터 집합을 제공합니다. 백엔드는 이러한 펑터를 사용하여 해당 OpenGL 텍스처를 데이터로 적절히 채웁니다. 텍스처 생성 및 업로드 속도가 느려지지 않도록 펙터는 가능한 한 최소한의 처리만 수행합니다. 텍스처의 콘텐츠가 느린 절차적 생성 프로세스의 결과인 경우, 이를 펑터에서 직접 구현하지 않는 것이 좋습니다.
모든 텍스처는 고유합니다. 동일한 텍스처를 두 번 인스턴스화하면 GPU에 동일한 텍스처가 두 개 생성되며 공유는 이루어지지 않습니다.
프로퍼티 문서
ComparisonFunction : ComparisonFunction
텍스처 공급자의 비교 기능을 보유합니다.
ComparisonMode : ComparisonMode
텍스처 공급자의 비교 모드를 보유합니다.
depth : int
텍스처 공급자의 깊이를 보유합니다.
format : TextureFormat
텍스처 공급자의 형식을 보유합니다.
generateMipMaps : bool
텍스처 공급자가 밉맵을 자동 생성할지 여부를 설정합니다.
handle : var [read-only]
현재 텍스처 핸들을 보유합니다( Qt 3D 에서 OpenGL 렌더러를 사용하는 경우, 핸들은 텍스처 ID 정수입니다).
handleType : enumeration [read-only]
현재 텍스처 핸들 유형을 유지합니다.
| Constant | 값 |
|---|---|
AbstractTexture.NoHandle | |
AbstractTexture.OpenGLTextureId |
height : int
텍스처 제공자의 높이를 보유합니다.
layers : int
텍스처 공급자의 최대 레이어 수를 보유합니다. 기본적으로 최대 레이어 수는 1입니다.
참고: 3D 또는 배열 대상 형식을 가진 텍스처 공급자에 대해서만 의미가 있습니다.
magnificationFilter : Filter
텍스처 공급자의 배율 필터를 보유합니다.
maximumAnisotropy : bool
텍스처 공급자의 최대 이방성을 보유합니다.
minificationFilter : Filter
텍스처 공급자의 축소 필터를 보유합니다.
samples : int
텍스처 공급자의 텍셀당 샘플 수를 보유합니다. 기본적으로 샘플 수는 1입니다.
참고: 다중 샘플 형식을 가진 텍스처 공급자에 대해서만 의미가 있습니다.
status readonly : Status
텍스처 공급자의 현재 상태를 보유합니다.
target readonly : Target
텍스처 공급자의 대상 형식을 보유합니다.
참고: 대상 형식은 한 번만 설정할 수 있습니다.
width : int
텍스처 공급자의 너비를 보유합니다.
wrapMode : QTextureWrapMode [read-only]
텍스처 공급자의 랩 모드를 유지합니다.
© 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.