![]() |
Qt 6.x
The Qt SDK
|
#include <qssgrhicontext_p.h>
Static Public Member Functions | |
static QRhiGraphicsPipeline::CullMode | toCullMode (QSSGCullFaceMode cullFaceMode) |
Public Attributes | |
const QSSGRhiShaderPipeline * | shaderPipeline |
int | samples = 1 |
bool | depthTestEnable = false |
bool | depthWriteEnable = false |
bool | usesStencilRef = false |
QRhiGraphicsPipeline::CompareOp | depthFunc = QRhiGraphicsPipeline::LessOrEqual |
QRhiGraphicsPipeline::CullMode | cullMode = QRhiGraphicsPipeline::None |
QRhiGraphicsPipeline::StencilOpState | stencilOpFrontState {} |
quint32 | stencilWriteMask = 0xFF |
quint32 | stencilRef = 0 |
int | depthBias = 0 |
float | slopeScaledDepthBias = 0.0f |
bool | blendEnable = false |
QRhiGraphicsPipeline::TargetBlend | targetBlend |
int | colorAttachmentCount = 1 |
QRhiViewport | viewport |
bool | scissorEnable = false |
QRhiScissor | scissor |
QSSGRhiInputAssemblerState | ia |
float | lineWidth = 1.0f |
QRhiGraphicsPipeline::PolygonMode | polygonMode = QRhiGraphicsPipeline::Fill |
Definition at line 398 of file qssgrhicontext_p.h.
|
static |
Definition at line 163 of file qssgrhicontext.cpp.
References QRhiGraphicsPipeline::Back, Back, Disabled, QRhiGraphicsPipeline::Front, Front, FrontAndBack, QRhiGraphicsPipeline::None, qWarning, and Unknown.
Referenced by RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
bool QSSGRhiGraphicsPipelineState::blendEnable = false |
Definition at line 413 of file qssgrhicontext_p.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGRhiQuadRenderer::recordRenderQuad(), ReflectionMapPass::renderPrep(), and MainPass::renderPrep().
int QSSGRhiGraphicsPipelineState::colorAttachmentCount = 1 |
Definition at line 415 of file qssgrhicontext_p.h.
Referenced by RenderHelpers::rhiRenderShadowMap().
QRhiGraphicsPipeline::CullMode QSSGRhiGraphicsPipelineState::cullMode = QRhiGraphicsPipeline::None |
Definition at line 407 of file qssgrhicontext_p.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QSSGParticleRenderer::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
int QSSGRhiGraphicsPipelineState::depthBias = 0 |
Definition at line 411 of file qssgrhicontext_p.h.
Referenced by ShadowMapPass::renderPrep().
QRhiGraphicsPipeline::CompareOp QSSGRhiGraphicsPipelineState::depthFunc = QRhiGraphicsPipeline::LessOrEqual |
Definition at line 406 of file qssgrhicontext_p.h.
Referenced by MainPass::renderPrep().
bool QSSGRhiGraphicsPipelineState::depthTestEnable = false |
Definition at line 403 of file qssgrhicontext_p.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), ShadowMapPass::renderPrep(), ReflectionMapPass::renderPrep(), ScreenMapPass::renderPrep(), and MainPass::renderPrep().
bool QSSGRhiGraphicsPipelineState::depthWriteEnable = false |
Definition at line 404 of file qssgrhicontext_p.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), ShadowMapPass::renderPrep(), ReflectionMapPass::renderPrep(), ScreenMapPass::renderPrep(), and MainPass::renderPrep().
QSSGRhiInputAssemblerState QSSGRhiGraphicsPipelineState::ia |
Definition at line 421 of file qssgrhicontext_p.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QSSGParticleRenderer::rhiPrepareRenderable(), rhiPrepareResourcesForShadowMap(), and setupInstancing().
float QSSGRhiGraphicsPipelineState::lineWidth = 1.0f |
Definition at line 422 of file qssgrhicontext_p.h.
Referenced by QSSGMaterialShaderGenerator::setRhiMaterialProperties().
QRhiGraphicsPipeline::PolygonMode QSSGRhiGraphicsPipelineState::polygonMode = QRhiGraphicsPipeline::Fill |
Definition at line 424 of file qssgrhicontext_p.h.
Referenced by MainPass::renderPass(), and MainPass::renderPrep().
int QSSGRhiGraphicsPipelineState::samples = 1 |
Definition at line 401 of file qssgrhicontext_p.h.
Referenced by RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and QSSGParticleRenderer::rhiPrepareRenderable().
QRhiScissor QSSGRhiGraphicsPipelineState::scissor |
Definition at line 419 of file qssgrhicontext_p.h.
Referenced by QSSGLayerRenderData::prepareForRender().
bool QSSGRhiGraphicsPipelineState::scissorEnable = false |
Definition at line 418 of file qssgrhicontext_p.h.
Referenced by QSSGLayerRenderData::prepareForRender().
const QSSGRhiShaderPipeline* QSSGRhiGraphicsPipelineState::shaderPipeline |
Definition at line 400 of file qssgrhicontext_p.h.
Referenced by ScreenMapPass::renderPass(), MainPass::renderPass(), QQuick3DSceneRenderer::renderToRhiTexture(), rhiPrepareResourcesForShadowMap(), RenderHelpers::rhiRenderAoTexture(), RenderHelpers::rhiRenderReflectionMap(), RenderHelpers::rhiRenderShadowMap(), QSSGCustomMaterialSystem::shadersForCustomMaterial(), shadersForDefaultMaterial(), and shadersForParticleMaterial().
float QSSGRhiGraphicsPipelineState::slopeScaledDepthBias = 0.0f |
Definition at line 412 of file qssgrhicontext_p.h.
Referenced by ShadowMapPass::renderPrep().
QRhiGraphicsPipeline::StencilOpState QSSGRhiGraphicsPipelineState::stencilOpFrontState {} |
Definition at line 408 of file qssgrhicontext_p.h.
quint32 QSSGRhiGraphicsPipelineState::stencilRef = 0 |
Definition at line 410 of file qssgrhicontext_p.h.
quint32 QSSGRhiGraphicsPipelineState::stencilWriteMask = 0xFF |
Definition at line 409 of file qssgrhicontext_p.h.
QRhiGraphicsPipeline::TargetBlend QSSGRhiGraphicsPipelineState::targetBlend |
Definition at line 414 of file qssgrhicontext_p.h.
Referenced by QSSGRhiCubeRenderer::recordRenderCube(), QSSGRhiQuadRenderer::recordRenderQuad(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and QSSGParticleRenderer::rhiPrepareRenderable().
bool QSSGRhiGraphicsPipelineState::usesStencilRef = false |
Definition at line 405 of file qssgrhicontext_p.h.
QRhiViewport QSSGRhiGraphicsPipelineState::viewport |
Definition at line 417 of file qssgrhicontext_p.h.
Referenced by QSSGLayerRenderData::prepareForRender(), QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), QQuick3DSceneRenderer::renderToRhiTexture(), RenderHelpers::rhiRenderDepthPass(), RenderHelpers::rhiRenderReflectionMap(), and RenderHelpers::rhiRenderShadowMap().