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)

seed 을 사용하여 key 에 대한 해시값을 반환합니다.

[noexcept] bool operator!=(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b)

두 개의 QRhiDepthStencilClearValue 객체 ab 의 값이 같으면 false 를 반환하고, 그렇지 않으면 true 를 반환합니다.

[noexcept] bool operator==(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b)

두 개의 QRhiDepthStencilClearValue 객체 ab 의 값이 같으면 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.