Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
\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 |
QRhiGraphicsPipeline::TargetBlend | 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.
Referenced by RenderHelpers::rhiRenderShadowMap().
QRhiGraphicsPipeline::CullMode QSSGRhiGraphicsPipelineState::cullMode = QRhiGraphicsPipeline::None |
Definition at line 40 of file qssgrhicontext.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QSSGParticleRenderer::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
int QSSGRhiGraphicsPipelineState::depthBias = 0 |
Definition at line 46 of file qssgrhicontext.h.
Referenced by ShadowMapPass::renderPrep().
QRhiGraphicsPipeline::CompareOp QSSGRhiGraphicsPipelineState::depthFunc = QRhiGraphicsPipeline::LessOrEqual |
Definition at line 39 of file qssgrhicontext.h.
Referenced by QSSGLayerRenderData::prepareForRender(), QSSGLayerRenderData::prepareRenderables(), and OpaquePass::renderPrep().
Flags QSSGRhiGraphicsPipelineState::flags |
Definition at line 52 of file qssgrhicontext.h.
Referenced by OpaquePass::prep(), TransparentPass::prep(), QSSGLayerRenderData::prepareForRender(), QSSGLayerRenderData::prepareRenderables(), QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), ShadowMapPass::renderPrep(), ReflectionMapPass::renderPrep(), ScreenReflectionPass::renderPrep(), OpaquePass::renderPrep(), TransparentPass::renderPrep(), Item2DPass::renderPrep(), InfiniteGridPass::renderPrep(), and RenderHelpers::rhiPrepareDepthPass().
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.
Referenced by QSSGLayerRenderData::prepareForRender(), SkyboxPass::renderPrep(), and SkyboxCubeMapPass::renderPrep().
int QSSGRhiGraphicsPipelineState::samples = 1 |
Definition at line 47 of file qssgrhicontext.h.
Referenced by OpaquePass::prep(), TransparentPass::prep(), SkyboxPass::renderPrep(), SkyboxCubeMapPass::renderPrep(), ScreenMapPass::renderPrep(), OpaquePass::renderPrep(), TransparentPass::renderPrep(), InfiniteGridPass::renderPrep(), RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and QSSGParticleRenderer::rhiPrepareRenderable().
QRhiScissor QSSGRhiGraphicsPipelineState::scissor |
Definition at line 54 of file qssgrhicontext.h.
Referenced by QSSGLayerRenderData::prepareForRender().
float QSSGRhiGraphicsPipelineState::slopeScaledDepthBias = 0.0f |
Definition at line 50 of file qssgrhicontext.h.
Referenced by ShadowMapPass::renderPrep().
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.
QRhiGraphicsPipeline::TargetBlend QSSGRhiGraphicsPipelineState::targetBlend |
Definition at line 41 of file qssgrhicontext.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGRhiQuadRenderer::recordRenderQuad(), RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and QSSGParticleRenderer::rhiPrepareRenderable().
int QSSGRhiGraphicsPipelineState::viewCount = 1 |
Definition at line 49 of file qssgrhicontext.h.
Referenced by OpaquePass::prep(), TransparentPass::prep(), SkyboxPass::renderPrep(), SkyboxCubeMapPass::renderPrep(), ScreenMapPass::renderPrep(), OpaquePass::renderPrep(), TransparentPass::renderPrep(), InfiniteGridPass::renderPrep(), RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QSSGParticleRenderer::rhiPrepareRenderable(), and shadersForParticleMaterial().
QRhiViewport QSSGRhiGraphicsPipelineState::viewport |
Definition at line 53 of file qssgrhicontext.h.
Referenced by QSSGLayerRenderData::prepareForRender(), QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), QQuick3DSceneRenderer::renderToRhiTexture(), RenderHelpers::rhiRenderDepthPass(), RenderHelpers::rhiRenderReflectionMap(), and RenderHelpers::rhiRenderShadowMap().