이 페이지에서

QShader::SeparateToCombinedImageSamplerMapping Struct

struct QShader::SeparateToCombinedImageSamplerMapping

샘플러 균일 분포에 대한 매핑 메타데이터. 더 보기...

공개 변수

상세 설명

기존의 결합된 이미지 샘플러 유니폼에서 별도의 텍스처 및 샘플러에 대한 바인딩 포인트로의 매핑을 설명합니다.

예를 들어, combinedImageSampler 이 "_54" 이고, textureBinding 이 1 이며, samplerBinding 이 2 인 경우, 이는 GLSL 셰이더 코드에 _54 이라는 이름의 sampler2D (또는 sampler3D 등) 유니폼이 포함되어 있으며, 이 유니폼은 원래 셰이더의 두 개의 별도 리소스 바인딩(1 및 2)에 해당함을 의미합니다.

참고: 이는 호환성 보장이 제한적인 RHI API입니다. 자세한 내용은 QShader 를 참조하십시오.

멤버 변수 문서

QByteArray SeparateToCombinedImageSamplerMapping::combinedSamplerName

int SeparateToCombinedImageSamplerMapping::samplerBinding

int SeparateToCombinedImageSamplerMapping::textureBinding

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