QRhiDepthStencilClearValue Class
深度バッファまたはステンシルバッファのクリア値を指定します。詳細...
ヘッダ: | #include <rhi/qrhi.h> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
qmake: | QT += gui-private |
以来: | Qt 6.6 |
パブリック関数
QRhiDepthStencilClearValue() | |
QRhiDepthStencilClearValue(float d, quint32 s) | |
float | depthClearValue() const |
void | setDepthClearValue(float d) |
void | setStencilClearValue(quint32 s) |
quint32 | stencilClearValue() const |
関連する非メンバー
size_t | qHash(const QRhiDepthStencilClearValue &key, size_t seed = 0) |
bool | operator!=(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) |
bool | operator==(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) |
詳細説明
注意: これは互換性保証に制限のある RHI API です。詳細はQRhi を参照してください。
メンバー関数ドキュメント
[constexpr noexcept]
QRhiDepthStencilClearValue::QRhiDepthStencilClearValue()
デプス・クリア値 1.0f、ステンシル・クリア値 0 のデプス/ステンシル・クリア値を構築する。
QRhiDepthStencilClearValue::QRhiDepthStencilClearValue(float d, quint32 s)
デプス・クリア値d およびステンシル・クリア値s を持つデプス/ステンシル・クリア値を構築する。
float QRhiDepthStencilClearValue::depthClearValue() const
深度クリア値を返します。ほとんどの場合、これは 1.0f です。
setDepthClearValue()も参照 。
void QRhiDepthStencilClearValue::setDepthClearValue(float d)
深度クリア値をd に設定する。
depthClearValue()も参照 。
void QRhiDepthStencilClearValue::setStencilClearValue(quint32 s)
ステンシル・クリア値をs に設定する。
stencilClearValue()も参照 。
quint32 QRhiDepthStencilClearValue::stencilClearValue() const
ステンシルクリア値を返します。ほとんどの場合、これは 0 です。
setStencilClearValue()も参照 。
関連する非会員
[noexcept]
size_t qHash(const QRhiDepthStencilClearValue &key, size_t seed = 0)
key のハッシュ値を返す。計算のシードにはseed を使用する。
[noexcept]
bool operator!=(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b)
2つのQRhiDepthStencilClearValue オブジェクトa とb の値が等しい場合はfalse
を返し、そうでない場合はtrue
を返す。
[noexcept]
bool operator==(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b)
2つのQRhiDepthStencilClearValue オブジェクトa とb の値が等しい場合、true
を返す。
© 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.