![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtQuick3D More...
#include <qssgrhicontext.h>
Public Types | |
enum class | Flag : quint32 { DepthTestEnabled = 0x1 , DepthWriteEnabled = 0x2 , BlendEnabled = 0x4 , UsesStencilRef = 0x8 , UsesScissor = 0x10 } |
\variable QSSGRhiGraphicsPipelineState::samples More... |
Public Attributes | |
QRhiGraphicsPipeline::CompareOp | depthFunc = QRhiGraphicsPipeline::LessOrEqual |
QRhiGraphicsPipeline::CullMode | cullMode = QRhiGraphicsPipeline::None |
std::array< QRhiGraphicsPipeline::TargetBlend, 8 > | targetBlend |
QRhiGraphicsPipeline::PolygonMode | polygonMode = QRhiGraphicsPipeline::Fill |
QRhiGraphicsPipeline::StencilOpState | stencilOpFrontState {} |
quint32 | stencilWriteMask = 0xFF |
quint32 | stencilRef = 0 |
int | depthBias = 0 |
int | samples = 1 |
int | colorAttachmentCount = 1 |
int | viewCount = 1 |
float | slopeScaledDepthBias = 0.0f |
float | lineWidth = 1.0f |
Flags | flags |
QRhiViewport | viewport |
QRhiScissor | scissor |
Friends | |
struct | QSSGRhiGraphicsPipelineStatePrivate |
struct | QSSGRhiInputAssemblerStatePrivate |
\inmodule QtQuick3D
Graphics pipeline state for the spatial scene graph.
This class is a convenience class used by QtQuick3D to wrap relevant pipeline state from the QRhi classes, like \l QRhiGraphicsPipeline. Most of the types and value used in QSSGRhiGraphicsPipelineState will therefore map directly to an equivalent QRhi type or class.
Definition at line 26 of file qssgrhicontext.h.
|
strong |
\variable QSSGRhiGraphicsPipelineState::samples
The sample count.
\value DepthTestEnabled \value DepthWriteEnabled \value BlendEnabled \value UsesStencilRef \value UsesScissor
Enumerator | |
---|---|
DepthTestEnabled | |
DepthWriteEnabled | |
BlendEnabled | |
UsesStencilRef | |
UsesScissor |
Definition at line 29 of file qssgrhicontext.h.
|
friend |
Definition at line 57 of file qssgrhicontext.h.
|
friend |
Definition at line 58 of file qssgrhicontext.h.
int QSSGRhiGraphicsPipelineState::colorAttachmentCount = 1 |
Definition at line 48 of file qssgrhicontext.h.
QRhiGraphicsPipeline::CullMode QSSGRhiGraphicsPipelineState::cullMode = QRhiGraphicsPipeline::None |
Definition at line 40 of file qssgrhicontext.h.
int QSSGRhiGraphicsPipelineState::depthBias = 0 |
Definition at line 46 of file qssgrhicontext.h.
QRhiGraphicsPipeline::CompareOp QSSGRhiGraphicsPipelineState::depthFunc = QRhiGraphicsPipeline::LessOrEqual |
Definition at line 39 of file qssgrhicontext.h.
Flags QSSGRhiGraphicsPipelineState::flags |
Definition at line 52 of file qssgrhicontext.h.
float QSSGRhiGraphicsPipelineState::lineWidth = 1.0f |
Definition at line 51 of file qssgrhicontext.h.
QRhiGraphicsPipeline::PolygonMode QSSGRhiGraphicsPipelineState::polygonMode = QRhiGraphicsPipeline::Fill |
Definition at line 42 of file qssgrhicontext.h.
int QSSGRhiGraphicsPipelineState::samples = 1 |
Definition at line 47 of file qssgrhicontext.h.
QRhiScissor QSSGRhiGraphicsPipelineState::scissor |
Definition at line 54 of file qssgrhicontext.h.
float QSSGRhiGraphicsPipelineState::slopeScaledDepthBias = 0.0f |
Definition at line 50 of file qssgrhicontext.h.
QRhiGraphicsPipeline::StencilOpState QSSGRhiGraphicsPipelineState::stencilOpFrontState {} |
Definition at line 43 of file qssgrhicontext.h.
quint32 QSSGRhiGraphicsPipelineState::stencilRef = 0 |
Definition at line 45 of file qssgrhicontext.h.
quint32 QSSGRhiGraphicsPipelineState::stencilWriteMask = 0xFF |
Definition at line 44 of file qssgrhicontext.h.
std::array<QRhiGraphicsPipeline::TargetBlend, 8> QSSGRhiGraphicsPipelineState::targetBlend |
Definition at line 41 of file qssgrhicontext.h.
int QSSGRhiGraphicsPipelineState::viewCount = 1 |
Definition at line 49 of file qssgrhicontext.h.
QRhiViewport QSSGRhiGraphicsPipelineState::viewport |
Definition at line 53 of file qssgrhicontext.h.