class GraphicsPipelineState

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class BlendFactor

Constant

Description

QSGMaterialShader.GraphicsPipelineState.Zero

QSGMaterialShader.GraphicsPipelineState.One

QSGMaterialShader.GraphicsPipelineState.SrcColor

QSGMaterialShader.GraphicsPipelineState.OneMinusSrcColor

QSGMaterialShader.GraphicsPipelineState.DstColor

QSGMaterialShader.GraphicsPipelineState.OneMinusDstColor

QSGMaterialShader.GraphicsPipelineState.SrcAlpha

QSGMaterialShader.GraphicsPipelineState.OneMinusSrcAlpha

QSGMaterialShader.GraphicsPipelineState.DstAlpha

QSGMaterialShader.GraphicsPipelineState.OneMinusDstAlpha

QSGMaterialShader.GraphicsPipelineState.ConstantColor

QSGMaterialShader.GraphicsPipelineState.OneMinusConstantColor

QSGMaterialShader.GraphicsPipelineState.ConstantAlpha

QSGMaterialShader.GraphicsPipelineState.OneMinusConstantAlpha

QSGMaterialShader.GraphicsPipelineState.SrcAlphaSaturate

QSGMaterialShader.GraphicsPipelineState.Src1Color

QSGMaterialShader.GraphicsPipelineState.OneMinusSrc1Color

QSGMaterialShader.GraphicsPipelineState.Src1Alpha

QSGMaterialShader.GraphicsPipelineState.OneMinusSrc1Alpha

class BlendOp

Constant

Description

QSGMaterialShader.GraphicsPipelineState.BlendOp.Add

QSGMaterialShader.GraphicsPipelineState.BlendOp.Subtract

QSGMaterialShader.GraphicsPipelineState.BlendOp.ReverseSubtract

QSGMaterialShader.GraphicsPipelineState.BlendOp.Min

QSGMaterialShader.GraphicsPipelineState.BlendOp.Max

Added in version 6.8.

class ColorMaskComponent

Constant

Description

QSGMaterialShader.GraphicsPipelineState.R

QSGMaterialShader.GraphicsPipelineState.G

QSGMaterialShader.GraphicsPipelineState.B

QSGMaterialShader.GraphicsPipelineState.A

class CullMode

Constant

Description

QSGMaterialShader.GraphicsPipelineState.CullNone

QSGMaterialShader.GraphicsPipelineState.CullFront

QSGMaterialShader.GraphicsPipelineState.CullBack

class PolygonMode

Specifies the polygon rasterization mode

Polygon Mode (Triangle Fill Mode in Metal, Fill Mode in D3D) specifies the fill mode used when rasterizing polygons. Polygons may be drawn as solids (Fill), or as a wire mesh (Line).

Warning

OpenGL ES does not support the Line polygon mode. OpenGL ES will rasterize all polygons as filled no matter what polygon mode is set. Using Line will make your application non-portable.

Constant

Description

QSGMaterialShader.GraphicsPipelineState.Fill

The interior of the polygon is filled (default)

QSGMaterialShader.GraphicsPipelineState.Line

Boundary edges of the polygon are drawn as line segments.

PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.blendEnable
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.srcColor
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.dstColor
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.colorWrite
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.blendConstant
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.cullMode
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.polygonMode
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.separateBlendFactors
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.srcAlpha
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.dstAlpha
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.opColor
PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState.opAlpha