TextureImage QML Type
이미지 소스에서 OpenGL 텍스처 이미지를 만드는 데 필요한 정보를 캡슐화합니다. 더 보기...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QTextureImage |
Inherits: | |
Status: | Deprecated |
속성
상세 설명
프로퍼티 문서
face : enumeration |
텍스처 이미지의 큐브 맵 면을 보유합니다.
Constant | 설명 |
---|---|
CubeMapPositiveX | 0x8515 GL_TEXTURE_CUBE_MAP_POSITIVE_X |
CubeMapNegativeX | 0x8516 GL_TEXTURE_CUBE_MAP_NEGATIVE_X |
CubeMapPositiveY | 0x8517 GL_TEXTURE_CUBE_MAP_POSITIVE_Y |
CubeMapNegativeY | 0x8518 GL_TEXTURE_CUBE_MAP_NEGATIVE_Y |
CubeMapPositiveZ | 0x8519 GL_TEXTURE_CUBE_MAP_POSITIVE_Z |
CubeMapNegativeZ | 0x851A GL_TEXTURE_CUBE_MAP_NEGATIVE_Z |
참고: 큐브 맵 면은 TargetCubeMap 와 TargetCubeMapArray 에만 의미가 있습니다.
layer : int |
텍스처 이미지의 레이어를 보유합니다.
mipLevel : int |
텍스처 이미지의 밉맵 레벨을 보유합니다.
mirrored : bool |
이 속성은 이미지가 로드될 때 미러링할지 여부를 지정합니다. 렌더링 API에서 사용하는 텍스처 좌표의 원점과 일치하도록 이미지를 조작할 필요가 없도록 하기 위한 편의 기능입니다. 기본적으로 이 속성은 true로 설정됩니다. GPU 압축 텍스처 형식을 사용할 때는 이 속성이 적용되지 않습니다.
경고: 이 속성으로 인해 비압축 이미지 형식이나 PNG와 같은 CPU 압축 이미지 형식을 로드할 때 런타임에 성능 대가를 지불해야 합니다. 이 성능 대가를 피하려면 이 속성을 false로 설정하고 미리 미러링된 텍스처 에셋을 로드하는 것이 좋습니다.
참고: OpenGL은 텍스처 좌표의 원점을 왼쪽 아래 모서리에서 지정하는 반면, DirectX는 왼쪽 위 모서리를 사용합니다.
참고: 큐브 맵 텍스처를 사용하는 경우 큐브 맵 샘플러는 일반 텍스처 좌표가 아닌 방향을 취하므로 미러링을 비활성화해야 할 수 있습니다.
source : url |
이 속성에는 텍스처 이미지의 데이터를 로드할 소스 URL이 저장됩니다.
status : enumeration |
이 프로퍼티에는 텍스처 이미지 로딩 상태가 저장됩니다.
- TextureImage.None
- TextureImage.Loading
- TextureImage.Ready
- TextureImage.Error
© 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.