このページでは

QShader::SeparateToCombinedImageSamplerMapping Struct

struct QShader::SeparateToCombinedImageSamplerMapping

サンプラーのユニフォームに関するメタデータのマッピング。詳細...

パブリック変数

詳細な説明

従来の複合画像サンプラーユニフォームから、個別のテクスチャおよびサンプラーのバインディングポイントへのマッピングについて説明します。

たとえば、combinedImageSampler が"_54" 、textureBinding が1 、samplerBinding が2 である場合、これは、GLSL シェーダーコードに_54 という名前のsampler2D (または sampler3D など)ユニフォームが含まれており、それが元のシェーダー内の 2 つの別々のリソースバインディング(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.