java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QShaderVersion
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QShaderVersion>
Specifies the shading language version
Java wrapper for Qt class QShaderVersion
- Since:
- This class was introduced in Qt 6.6.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQShaderVersion::Flag
static final class
QFlags
type for enumQShaderVersion.Flag
-
Constructor Summary
ConstructorDescriptionQShaderVersion
(int v) Overloaded constructor forQShaderVersion(int, io.qt.gui.rhi.QShaderVersion.Flags)
withf = new io.qt.gui.rhi.QShaderVersion.Flags(0)
.QShaderVersion
(int v, QShaderVersion.Flag ... f) Overloaded constructor forQShaderVersion(int, io.qt.gui.rhi.QShaderVersion.Flags)
.QShaderVersion
(int v, QShaderVersion.Flags f) QShaderVersion
(QShaderVersion other) SeeQShaderVersion::
QShaderVersion(QShaderVersion) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.int
compareTo
(QShaderVersion other) Seeoperator<(QShaderVersion,
QShaderVersion) final boolean
equals
(int rhs) Overloaded function forequals(io.qt.gui.rhi.QShaderVersion)
.final boolean
equals
(QShaderVersion rhs) Seeoperator==(QShaderVersion,
QShaderVersion) boolean
Seeoperator==(QShaderVersion,
QShaderVersion) final QShaderVersion.Flags
flags()
int
hashCode()
Returns the objects's hash code computed byqHash(QShaderVersion)
.final void
setFlags
(QShaderVersion.Flag ... f) Overloaded function forsetFlags(io.qt.gui.rhi.QShaderVersion.Flags)
.final void
final void
setVersion
(int v) toString()
Seeoperator<<(QDebug,
QShaderVersion) final int
version()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QShaderVersion
public QShaderVersion() -
QShaderVersion
See
QShaderVersion::
QShaderVersion(QShaderVersion) - Parameters:
other
-
-
QShaderVersion
- Parameters:
v
-f
-
-
QShaderVersion
public QShaderVersion(int v) Overloaded constructor for
QShaderVersion(int, io.qt.gui.rhi.QShaderVersion.Flags)
withf = new io.qt.gui.rhi.QShaderVersion.Flags(0)
. -
QShaderVersion
Overloaded constructor for
QShaderVersion(int, io.qt.gui.rhi.QShaderVersion.Flags)
.
-
-
Method Details
-
flags
- Returns:
-
equals
See
operator==(QShaderVersion,
QShaderVersion) - Parameters:
rhs
-- Returns:
-
setFlags
- Parameters:
f
-
-
setVersion
- Parameters:
v
-
-
version
- Returns:
-
equals
See
operator==(QShaderVersion,
QShaderVersion) -
compareTo
See
operator<(QShaderVersion,
QShaderVersion) - Specified by:
compareTo
in interfaceComparable<QShaderVersion>
-
hashCode
Returns the objects's hash code computed byqHash(QShaderVersion)
. -
toString
See
operator<<(QDebug,
QShaderVersion) -
clone
Creates and returns a copy of this object.
See
QShaderVersion::
QShaderVersion(QShaderVersion) -
equals
Overloaded function for
equals(io.qt.gui.rhi.QShaderVersion)
. -
setFlags
Overloaded function for
setFlags(io.qt.gui.rhi.QShaderVersion.Flags)
.
-