SeparateToCombinedImageSamplerMapping Struct
struct QShader::SeparateToCombinedImageSamplerMapping샘플러 유니폼에 대한 메타데이터 매핑. 더 보기...
공용 변수
QByteArray | combinedSamplerName |
int | samplerBinding |
int | textureBinding |
상세 설명
기존의 결합된 이미지 샘플러 유니폼에서 별도의 텍스처 및 샘플러에 대한 바인딩 포인트로의 매핑을 설명합니다.
예를 들어 combinedImageSampler
가 "_54"
, textureBinding
가 1
, samplerBinding
가 2
인 경우, 이는 GLSL 셰이더 코드에 _54
라는 이름의 sampler2D
(또는 샘플러3D 등) 유니폼이 포함되어 있으며, 이는 원본 셰이더의 두 개의 개별 리소스 바인딩 (1
및 2
)에 해당한다는 의미입니다.
참고: 이는 호환성이 제한적으로 보장되는 RHI API이며, 자세한 내용은 QShader 을 참조하세요.
멤버 변수 문서
QByteArray SeparateToCombinedImageSamplerMapping::combinedSamplerName
int SeparateToCombinedImageSamplerMapping::samplerBinding
int SeparateToCombinedImageSamplerMapping::textureBinding
© 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.