- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QSGMaterialShader
Describes state changes that the material wants to apply to the currently active graphics pipeline state
Java wrapper for Qt class QSGMaterialShader::GraphicsPipelineState
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSGMaterialShader::GraphicsPipelineState::BlendFactor
static enum
Java wrapper for Qt enumQSGMaterialShader::GraphicsPipelineState::BlendOp
static final class
static enum
Java wrapper for Qt enumQSGMaterialShader::GraphicsPipelineState::ColorMaskComponent
static enum
Java wrapper for Qt enumQSGMaterialShader::GraphicsPipelineState::CullMode
static enum
Java wrapper for Qt enumQSGMaterialShader::GraphicsPipelineState::PolygonMode
-
Constructor Summary
ConstructorDescriptionSeeQSGMaterialShader::GraphicsPipelineState::
GraphicsPipelineState() GraphicsPipelineState
(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, Qt.GlobalColor blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) GraphicsPipelineState
(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, QColor blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) SeeQSGMaterialShader::GraphicsPipelineState::
GraphicsPipelineState{bool, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::ColorMask, QColor, QSGMaterialShader::GraphicsPipelineState::CullMode, QSGMaterialShader::GraphicsPipelineState::PolygonMode, bool, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::BlendOp, QSGMaterialShader::GraphicsPipelineState::BlendOp} GraphicsPipelineState
(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, QRgba64 blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) GraphicsPipelineState
(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, String blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) SeeQSGMaterialShader::GraphicsPipelineState::
GraphicsPipelineState(QSGMaterialShader::GraphicsPipelineState) -
Method Summary
Modifier and TypeMethodDescriptionfinal QColor
Blend constant applicable when a blending factor is set to use a constant valuefinal boolean
Enables blendingclone()
Creates and returns a copy of this object.Color write maskcullMode()
Cull modedstAlpha()
Destination alpha blending factordstColor()
Destination blending factor, either RGB or RGBA depending on separateBlendFactorsfinal boolean
Seeoperator==(QSGMaterialShader::GraphicsPipelineState,
QSGMaterialShader::GraphicsPipelineState) boolean
Seeoperator==(QSGMaterialShader::GraphicsPipelineState,
QSGMaterialShader::GraphicsPipelineState) int
hashCode()
Returns the objects's hash code computed byqHash(QSGMaterialShader::GraphicsPipelineState)
.opAlpha()
Alpha blending operationopColor()
RGB blending operationPolygon rasterization modefinal boolean
Indicates that alpha blending factors are specified separatelyfinal void
setBlendConstant
(Qt.GlobalColor blendConstant) Overloaded function forsetBlendConstant(io.qt.gui.QColor)
.final void
setBlendConstant
(QColor blendConstant) Blend constant applicable when a blending factor is set to use a constant valuefinal void
setBlendConstant
(QRgba64 blendConstant) Overloaded function forsetBlendConstant(io.qt.gui.QColor)
.final void
setBlendConstant
(String blendConstant) Overloaded function forsetBlendConstant(io.qt.gui.QColor)
.final void
setBlendEnable
(boolean blendEnable) Enables blendingfinal void
Color write maskfinal void
Overloaded function forsetColorWrite(io.qt.quick.QSGMaterialShader.GraphicsPipelineState.ColorMask)
.final void
Cull modefinal void
Destination alpha blending factorfinal void
Destination blending factor, either RGB or RGBA depending on separateBlendFactorsfinal void
Alpha blending operationfinal void
RGB blending operationfinal void
Polygon rasterization modefinal void
setSeparateBlendFactors
(boolean separateBlendFactors) Indicates that alpha blending factors are specified separatelyfinal void
Source alpha blending factorfinal void
Source blending factor, either RGB or RGBA depending on separateBlendFactorssrcAlpha()
Source alpha blending factorsrcColor()
Source blending factor, either RGB or RGBA depending on separateBlendFactorsMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
GraphicsPipelineState
public GraphicsPipelineState()See
QSGMaterialShader::GraphicsPipelineState::
GraphicsPipelineState() -
GraphicsPipelineState
See
QSGMaterialShader::GraphicsPipelineState::
GraphicsPipelineState(QSGMaterialShader::GraphicsPipelineState) - Parameters:
other
-
-
GraphicsPipelineState
public GraphicsPipelineState(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, QColor blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) See
QSGMaterialShader::GraphicsPipelineState::
GraphicsPipelineState{bool, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::ColorMask, QColor, QSGMaterialShader::GraphicsPipelineState::CullMode, QSGMaterialShader::GraphicsPipelineState::PolygonMode, bool, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::BlendFactor, QSGMaterialShader::GraphicsPipelineState::BlendOp, QSGMaterialShader::GraphicsPipelineState::BlendOp} - Parameters:
blendEnable
-srcColor
-dstColor
-colorWrite
-blendConstant
-cullMode
-polygonMode
-separateBlendFactors
-srcAlpha
-dstAlpha
-opColor
-opAlpha
-
-
GraphicsPipelineState
public GraphicsPipelineState(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, Qt.GlobalColor blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) -
GraphicsPipelineState
public GraphicsPipelineState(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, QRgba64 blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) -
GraphicsPipelineState
public GraphicsPipelineState(boolean blendEnable, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor, QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite, String blendConstant, QSGMaterialShader.GraphicsPipelineState.CullMode cullMode, QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode, boolean separateBlendFactors, QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha, QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha, QSGMaterialShader.GraphicsPipelineState.BlendOp opColor, QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha)
-
-
Method Details
-
equals
See
operator==(QSGMaterialShader::GraphicsPipelineState,
QSGMaterialShader::GraphicsPipelineState) - Parameters:
value2
-- Returns:
-
setBlendConstant
Blend constant applicable when a blending factor is set to use a constant value
- Parameters:
blendConstant
-
-
blendConstant
Blend constant applicable when a blending factor is set to use a constant value
- Returns:
-
setBlendEnable
Enables blending
- Parameters:
blendEnable
-
-
blendEnable
Enables blending
- Returns:
-
setColorWrite
@QtUninvokable public final void setColorWrite(QSGMaterialShader.GraphicsPipelineState.ColorMask colorWrite) Color write mask
- Parameters:
colorWrite
-
-
colorWrite
Color write mask
- Returns:
-
setCullMode
@QtUninvokable public final void setCullMode(QSGMaterialShader.GraphicsPipelineState.CullMode cullMode) Cull mode
- Parameters:
cullMode
-
-
cullMode
Cull mode
- Returns:
-
setDstAlpha
@QtUninvokable public final void setDstAlpha(QSGMaterialShader.GraphicsPipelineState.BlendFactor dstAlpha) Destination alpha blending factor
- Parameters:
dstAlpha
-- Since:
- This function was introduced in Qt 6.5.
-
dstAlpha
Destination alpha blending factor
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
setDstColor
@QtUninvokable public final void setDstColor(QSGMaterialShader.GraphicsPipelineState.BlendFactor dstColor) Destination blending factor, either RGB or RGBA depending on separateBlendFactors
- Parameters:
dstColor
-
-
dstColor
Destination blending factor, either RGB or RGBA depending on separateBlendFactors
- Returns:
-
setOpAlpha
@QtUninvokable public final void setOpAlpha(QSGMaterialShader.GraphicsPipelineState.BlendOp opAlpha) Alpha blending operation
- Parameters:
opAlpha
-- Since:
- This function was introduced in Qt 6.8.
-
opAlpha
Alpha blending operation
- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
setOpColor
@QtUninvokable public final void setOpColor(QSGMaterialShader.GraphicsPipelineState.BlendOp opColor) RGB blending operation
- Parameters:
opColor
-- Since:
- This function was introduced in Qt 6.8.
-
opColor
RGB blending operation
- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
setPolygonMode
@QtUninvokable public final void setPolygonMode(QSGMaterialShader.GraphicsPipelineState.PolygonMode polygonMode) Polygon rasterization mode
- Parameters:
polygonMode
-- Since:
- This function was introduced in Qt 6.4.
-
polygonMode
Polygon rasterization mode
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
setSeparateBlendFactors
Indicates that alpha blending factors are specified separately
See
QSGMaterialShader::GraphicsPipelineState::
separateBlendFactors - Parameters:
separateBlendFactors
-- Since:
- This function was introduced in Qt 6.5.
-
separateBlendFactors
Indicates that alpha blending factors are specified separately
See
QSGMaterialShader::GraphicsPipelineState::
separateBlendFactors - Returns:
- Since:
- This function was introduced in Qt 6.5.
-
setSrcAlpha
@QtUninvokable public final void setSrcAlpha(QSGMaterialShader.GraphicsPipelineState.BlendFactor srcAlpha) Source alpha blending factor
- Parameters:
srcAlpha
-- Since:
- This function was introduced in Qt 6.5.
-
srcAlpha
Source alpha blending factor
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
setSrcColor
@QtUninvokable public final void setSrcColor(QSGMaterialShader.GraphicsPipelineState.BlendFactor srcColor) Source blending factor, either RGB or RGBA depending on separateBlendFactors
- Parameters:
srcColor
-
-
srcColor
Source blending factor, either RGB or RGBA depending on separateBlendFactors
- Returns:
-
equals
See
operator==(QSGMaterialShader::GraphicsPipelineState,
QSGMaterialShader::GraphicsPipelineState) -
hashCode
Returns the objects's hash code computed byqHash(QSGMaterialShader::GraphicsPipelineState)
. -
clone
Creates and returns a copy of this object.
See
QSGMaterialShader::GraphicsPipelineState::
GraphicsPipelineState(QSGMaterialShader::GraphicsPipelineState) -
setBlendConstant
Overloaded function for
setBlendConstant(io.qt.gui.QColor)
. -
setBlendConstant
Overloaded function for
setBlendConstant(io.qt.gui.QColor)
. -
setBlendConstant
Overloaded function for
setBlendConstant(io.qt.gui.QColor)
. -
setColorWrite
@QtUninvokable public final void setColorWrite(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent ... colorWrite) Overloaded function for
setColorWrite(io.qt.quick.QSGMaterialShader.GraphicsPipelineState.ColorMask)
.
-