- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QShaderKey>
Specifies the shading language, the version with flags, and the variant
Java wrapper for Qt class QShaderKey
This class was introduced in Qt 6.6.
-
Constructor Summary
ConstructorDescriptionQShaderKey
(QShaderKey other) SeeQShaderKey::
QShaderKey(QShaderKey) QShaderKey
(QShader.Source s, int sver) Overloaded constructor forQShaderKey(io.qt.gui.rhi.QShader.Source, int, io.qt.gui.rhi.QShader.Variant)
withsvar = io.qt.gui.rhi.QShader.Variant.StandardShader
.QShaderKey
(QShader.Source s, int sver, QShader.Variant svar) Overloaded constructor forQShaderKey(io.qt.gui.rhi.QShader.Source, io.qt.gui.rhi.QShaderVersion, io.qt.gui.rhi.QShader.Variant)
.QShaderKey
(QShader.Source s, QShaderVersion sver) Overloaded constructor forQShaderKey(io.qt.gui.rhi.QShader.Source, io.qt.gui.rhi.QShaderVersion, io.qt.gui.rhi.QShader.Variant)
withsvar = io.qt.gui.rhi.QShader.Variant.StandardShader
.QShaderKey
(QShader.Source s, QShaderVersion sver, QShader.Variant svar) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.int
compareTo
(QShaderKey other) final boolean
equals
(QShaderKey rhs) Seeoperator==(QShaderKey,
QShaderKey) boolean
Seeoperator==(QShaderKey,
QShaderKey) int
hashCode()
Returns the objects's hash code computed byqHash(QShaderKey)
.final void
final void
final void
setSourceVersion
(int sver) Overloaded function forsetSourceVersion(io.qt.gui.rhi.QShaderVersion)
.final void
final QShader.Source
source()
final QShader.Variant
final QShaderVersion
toString()
Seeoperator<<(QDebug,
QShaderKey) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QShaderKey
public QShaderKey() -
QShaderKey
-
QShaderKey
See
QShaderKey::
QShaderKey(QShaderKey) -
QShaderKey
Overloaded constructor for
QShaderKey(io.qt.gui.rhi.QShader.Source, io.qt.gui.rhi.QShaderVersion, io.qt.gui.rhi.QShader.Variant)
withsvar = io.qt.gui.rhi.QShader.Variant.StandardShader
. -
QShaderKey
Overloaded constructor for
QShaderKey(io.qt.gui.rhi.QShader.Source, int, io.qt.gui.rhi.QShader.Variant)
withsvar = io.qt.gui.rhi.QShader.Variant.StandardShader
. -
QShaderKey
Overloaded constructor for
QShaderKey(io.qt.gui.rhi.QShader.Source, io.qt.gui.rhi.QShaderVersion, io.qt.gui.rhi.QShader.Variant)
.
-
-
Method Details
-
equals
See
operator==(QShaderKey,
QShaderKey) -
setSource
-
setSourceVariant
-
setSourceVersion
-
source
-
sourceVariant
-
sourceVersion
-
equals
See
operator==(QShaderKey,
QShaderKey) -
compareTo
- Specified by:
compareTo
in interfaceComparable<QShaderKey>
-
hashCode
Returns the objects's hash code computed byqHash(QShaderKey)
. -
toString
See
operator<<(QDebug,
QShaderKey) -
clone
Creates and returns a copy of this object.
See
QShaderKey::
QShaderKey(QShaderKey) -
setSourceVersion
Overloaded function for
setSourceVersion(io.qt.gui.rhi.QShaderVersion)
.
-