Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSSGRhiGraphicsPipelineState Struct Reference

#include <qssgrhicontext_p.h>

+ Collaboration diagram for QSSGRhiGraphicsPipelineState:

Static Public Member Functions

static QRhiGraphicsPipeline::CullMode toCullMode (QSSGCullFaceMode cullFaceMode)
 

Public Attributes

const QSSGRhiShaderPipelineshaderPipeline
 
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
 

Detailed Description

Definition at line 398 of file qssgrhicontext_p.h.

Member Function Documentation

◆ toCullMode()

QRhiGraphicsPipeline::CullMode QSSGRhiGraphicsPipelineState::toCullMode ( QSSGCullFaceMode  cullFaceMode)
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().

+ Here is the caller graph for this function:

Member Data Documentation

◆ blendEnable

bool QSSGRhiGraphicsPipelineState::blendEnable = false

◆ colorAttachmentCount

int QSSGRhiGraphicsPipelineState::colorAttachmentCount = 1

Definition at line 415 of file qssgrhicontext_p.h.

Referenced by RenderHelpers::rhiRenderShadowMap().

◆ cullMode

◆ depthBias

int QSSGRhiGraphicsPipelineState::depthBias = 0

Definition at line 411 of file qssgrhicontext_p.h.

Referenced by ShadowMapPass::renderPrep().

◆ depthFunc

QRhiGraphicsPipeline::CompareOp QSSGRhiGraphicsPipelineState::depthFunc = QRhiGraphicsPipeline::LessOrEqual

Definition at line 406 of file qssgrhicontext_p.h.

Referenced by MainPass::renderPrep().

◆ depthTestEnable

◆ depthWriteEnable

◆ ia

◆ lineWidth

float QSSGRhiGraphicsPipelineState::lineWidth = 1.0f

◆ polygonMode

QRhiGraphicsPipeline::PolygonMode QSSGRhiGraphicsPipelineState::polygonMode = QRhiGraphicsPipeline::Fill

Definition at line 424 of file qssgrhicontext_p.h.

Referenced by MainPass::renderPass(), and MainPass::renderPrep().

◆ samples

◆ scissor

QRhiScissor QSSGRhiGraphicsPipelineState::scissor

Definition at line 419 of file qssgrhicontext_p.h.

Referenced by QSSGLayerRenderData::prepareForRender().

◆ scissorEnable

bool QSSGRhiGraphicsPipelineState::scissorEnable = false

Definition at line 418 of file qssgrhicontext_p.h.

Referenced by QSSGLayerRenderData::prepareForRender().

◆ shaderPipeline

◆ slopeScaledDepthBias

float QSSGRhiGraphicsPipelineState::slopeScaledDepthBias = 0.0f

Definition at line 412 of file qssgrhicontext_p.h.

Referenced by ShadowMapPass::renderPrep().

◆ stencilOpFrontState

QRhiGraphicsPipeline::StencilOpState QSSGRhiGraphicsPipelineState::stencilOpFrontState {}

Definition at line 408 of file qssgrhicontext_p.h.

◆ stencilRef

quint32 QSSGRhiGraphicsPipelineState::stencilRef = 0

Definition at line 410 of file qssgrhicontext_p.h.

◆ stencilWriteMask

quint32 QSSGRhiGraphicsPipelineState::stencilWriteMask = 0xFF

Definition at line 409 of file qssgrhicontext_p.h.

◆ targetBlend

◆ usesStencilRef

bool QSSGRhiGraphicsPipelineState::usesStencilRef = false

Definition at line 405 of file qssgrhicontext_p.h.

◆ viewport


The documentation for this struct was generated from the following files: