![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h More...
#include <qrhi.h>
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 |
\qhash{QRhiDepthStencilClearValue} |
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
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 |
|
inline |
|
inline |
|
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 |
\qhash{QRhiDepthStencilClearValue}