java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QShaderKey
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QShaderKey>
Specifies the shading language, the version with flags, and the variant
Java wrapper for Qt class QShaderKey
-
Constructor Summary
ConstructorDescriptionQShaderKey
(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) boolean
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
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
-
setSource
-
setSourceVariant
-
setSourceVersion
-
source
-
sourceVariant
-
sourceVersion
-
equals
-
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.
-
setSourceVersion
Overloaded function for
setSourceVersion(io.qt.gui.rhi.QShaderVersion)
.
-