SeparateToCombinedImageSamplerMapping Struct

struct QShader::SeparateToCombinedImageSamplerMapping

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

パブリック変数

詳細説明

従来の結合イメージサンプラーユニフォームから、個別のテクスチャとサンプラーのバインディングポイントへのマッピングを記述します。

たとえば、combinedImageSampler"_54" で、textureBinding1 で、samplerBinding2 である場合、これは GLSL シェーダコードにsampler2D (または sampler3D など) ユニフォームがあり、_54 という名前で、元のシェーダの 2 つの別々のリソースバインディング (12) に対応していることを意味します。

注意: これは互換性が限定的に保証された 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.