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>.
Loading...
Searching...
No Matches
QSGBatchRenderer::GraphicsState Struct Reference

#include <qsgbatchrenderer_p.h>

+ Collaboration diagram for QSGBatchRenderer::GraphicsState:

Public Attributes

bool depthTest = false
 
bool depthWrite = false
 
QRhiGraphicsPipeline::CompareOp depthFunc = QRhiGraphicsPipeline::Less
 
bool blending = false
 
QRhiGraphicsPipeline::BlendFactor srcColor = QRhiGraphicsPipeline::One
 
QRhiGraphicsPipeline::BlendFactor dstColor = QRhiGraphicsPipeline::OneMinusSrcAlpha
 
QRhiGraphicsPipeline::BlendFactor srcAlpha = QRhiGraphicsPipeline::One
 
QRhiGraphicsPipeline::BlendFactor dstAlpha = QRhiGraphicsPipeline::OneMinusSrcAlpha
 
QRhiGraphicsPipeline::ColorMask colorWrite = QRhiGraphicsPipeline::ColorMask(0xF)
 
QRhiGraphicsPipeline::CullMode cullMode = QRhiGraphicsPipeline::None
 
bool usesScissor = false
 
bool stencilTest = false
 
int sampleCount = 1
 
QSGGeometry::DrawingMode drawMode = QSGGeometry::DrawTriangles
 
float lineWidth = 1.0f
 
QRhiGraphicsPipeline::PolygonMode polygonMode = QRhiGraphicsPipeline::Fill
 
int multiViewCount = 0
 

Detailed Description

Definition at line 592 of file qsgbatchrenderer_p.h.

Member Data Documentation

◆ blending

bool QSGBatchRenderer::GraphicsState::blending = false

Definition at line 597 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ colorWrite

QRhiGraphicsPipeline::ColorMask QSGBatchRenderer::GraphicsState::colorWrite = QRhiGraphicsPipeline::ColorMask(0xF)

Definition at line 602 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ cullMode

QRhiGraphicsPipeline::CullMode QSGBatchRenderer::GraphicsState::cullMode = QRhiGraphicsPipeline::None

Definition at line 603 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ depthFunc

QRhiGraphicsPipeline::CompareOp QSGBatchRenderer::GraphicsState::depthFunc = QRhiGraphicsPipeline::Less

Definition at line 596 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ depthTest

bool QSGBatchRenderer::GraphicsState::depthTest = false

Definition at line 594 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ depthWrite

bool QSGBatchRenderer::GraphicsState::depthWrite = false

Definition at line 595 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ drawMode

QSGGeometry::DrawingMode QSGBatchRenderer::GraphicsState::drawMode = QSGGeometry::DrawTriangles

Definition at line 607 of file qsgbatchrenderer_p.h.

◆ dstAlpha

Definition at line 601 of file qsgbatchrenderer_p.h.

◆ dstColor

Definition at line 599 of file qsgbatchrenderer_p.h.

◆ lineWidth

float QSGBatchRenderer::GraphicsState::lineWidth = 1.0f

Definition at line 608 of file qsgbatchrenderer_p.h.

◆ multiViewCount

int QSGBatchRenderer::GraphicsState::multiViewCount = 0

Definition at line 610 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ polygonMode

QRhiGraphicsPipeline::PolygonMode QSGBatchRenderer::GraphicsState::polygonMode = QRhiGraphicsPipeline::Fill

Definition at line 609 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ sampleCount

int QSGBatchRenderer::GraphicsState::sampleCount = 1

Definition at line 606 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ srcAlpha

QRhiGraphicsPipeline::BlendFactor QSGBatchRenderer::GraphicsState::srcAlpha = QRhiGraphicsPipeline::One

Definition at line 600 of file qsgbatchrenderer_p.h.

◆ srcColor

QRhiGraphicsPipeline::BlendFactor QSGBatchRenderer::GraphicsState::srcColor = QRhiGraphicsPipeline::One

Definition at line 598 of file qsgbatchrenderer_p.h.

◆ stencilTest

bool QSGBatchRenderer::GraphicsState::stencilTest = false

Definition at line 605 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

◆ usesScissor

bool QSGBatchRenderer::GraphicsState::usesScissor = false

Definition at line 604 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().


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