![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtGui More...
#include <qrhi.h>
Collaboration diagram for QRhiDepthStencilClearValue:Public Member Functions | |
| QRhiDepthStencilClearValue ()=default | |
| Constructs a depth/stencil clear value with depth clear value 1.0f and stencil clear value 0. | |
| QRhiDepthStencilClearValue (float d, quint32 s) | |
| Constructs a depth/stencil clear value with depth clear value d and stencil clear value s. | |
| float | depthClearValue () const |
| void | setDepthClearValue (float d) |
| Sets the depth clear value to d. | |
| quint32 | stencilClearValue () const |
| void | setStencilClearValue (quint32 s) |
| Sets the stencil clear value to s. | |
Friends | |
| bool | operator== (const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) noexcept |
| bool | operator!= (const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) noexcept |
| size_t | qHash (const QRhiDepthStencilClearValue &v, size_t seed=0) noexcept |
\inmodule QtGui
Specifies clear values for a depth or stencil buffer.
|
default |
Constructs a depth/stencil clear value with depth clear value 1.0f and stencil clear value 0.
| QRhiDepthStencilClearValue::QRhiDepthStencilClearValue | ( | float | d, |
| quint32 | s | ||
| ) |
|
inline |
Definition at line 49 of file qrhi.h.
Referenced by QRhiD3D11::beginPass(), QRhiGles2::beginPass(), QRhiVulkan::beginPass(), and QRhiMetalData::createDefaultRenderPass().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 52 of file qrhi.h.
Referenced by QRhiD3D11::beginPass(), QRhiGles2::beginPass(), QRhiVulkan::beginPass(), and QRhiMetalData::createDefaultRenderPass().
Here is the caller graph for this function:
|
friend |
false if the values in the two QRhiDepthStencilClearValue objects a and b are equal; otherwise returns true.
|
friend |
true if the values in the two QRhiDepthStencilClearValue objects a and b are equal.
|
friend |