java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QRhiShaderStage
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies the type and the shader code for a shader stage in the pipeline
Java wrapper for Qt class QRhiShaderStage
- Since:
- This class was introduced in Qt 6.6.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionQRhiShaderStage
(QRhiShaderStage other) SeeQRhiShaderStage::
QRhiShaderStage(QRhiShaderStage) QRhiShaderStage
(QRhiShaderStage.Type type, QShader shader) Overloaded constructor forQRhiShaderStage(io.qt.gui.rhi.QRhiShaderStage.Type, io.qt.gui.rhi.QShader, io.qt.gui.rhi.QShader.Variant)
withv = io.qt.gui.rhi.QShader.Variant.StandardShader
.QRhiShaderStage
(QRhiShaderStage.Type type, QShader shader, QShader.Variant v) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QRhiShaderStage)
.final void
final void
final void
final QShader
shader()
final QShader.Variant
toString()
Seeoperator<<(QDebug,
QRhiShaderStage) final QRhiShaderStage.Type
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRhiShaderStage
public QRhiShaderStage() -
QRhiShaderStage
See
QRhiShaderStage::
QRhiShaderStage(QRhiShaderStage) - Parameters:
other
-
-
QRhiShaderStage
- Parameters:
type
-shader
-v
-
-
QRhiShaderStage
Overloaded constructor for
QRhiShaderStage(io.qt.gui.rhi.QRhiShaderStage.Type, io.qt.gui.rhi.QShader, io.qt.gui.rhi.QShader.Variant)
withv = io.qt.gui.rhi.QShader.Variant.StandardShader
.
-
-
Method Details
-
equals
- Parameters:
b
-- Returns:
-
setShader
- Parameters:
s
-
-
setShaderVariant
- Parameters:
v
-
-
setType
- Parameters:
t
-
-
shader
- Returns:
-
shaderVariant
- Returns:
-
type
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QRhiShaderStage)
. -
toString
See
operator<<(QDebug,
QRhiShaderStage) -
clone
Creates and returns a copy of this object.
See
QRhiShaderStage::
QRhiShaderStage(QRhiShaderStage)
-