- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains source or binary code for a shader and additional metadata
Java wrapper for Qt class QShaderCode
This class was introduced in Qt 6.6.
-
Constructor Summary
ConstructorDescriptionQShaderCode
(byte [] code) Overloaded constructor forQShaderCode(byte[], io.qt.core.QByteArray)
withentry = new io.qt.core.QByteArray()
.QShaderCode
(byte [] code, byte [] entry) Overloaded constructor forQShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
.QShaderCode
(byte [] code, QByteArray entry) Overloaded constructor forQShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
.QShaderCode
(QByteArray code) Overloaded constructor forQShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
withentry = new io.qt.core.QByteArray()
.QShaderCode
(QByteArray code, byte [] entry) Overloaded constructor forQShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
.QShaderCode
(QByteArray code, QByteArray entry) QShaderCode
(QShaderCode other) SeeQShaderCode::
QShaderCode(QShaderCode) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QByteArray
final boolean
equals
(QByteArray rhs) Overloaded function forequals(io.qt.gui.rhi.QShaderCode)
.final boolean
equals
(QShaderCode rhs) Seeoperator==(QShaderCode,
QShaderCode) boolean
Seeoperator==(QShaderCode,
QShaderCode) int
hashCode()
Returns the objects's hash code computed byqHash(QShaderCode)
.final void
setEntryPoint
(byte [] entry) Overloaded function forsetEntryPoint(io.qt.core.QByteArray)
.final void
setEntryPoint
(QByteArray entry) final void
setShader
(byte [] code) Overloaded function forsetShader(io.qt.core.QByteArray)
.final void
setShader
(QByteArray code) final QByteArray
shader()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QShaderCode
public QShaderCode() -
QShaderCode
-
QShaderCode
See
QShaderCode::
QShaderCode(QShaderCode) -
QShaderCode
Overloaded constructor for
QShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
withentry = new io.qt.core.QByteArray()
. -
QShaderCode
public QShaderCode(byte [] code) Overloaded constructor for
QShaderCode(byte[], io.qt.core.QByteArray)
withentry = new io.qt.core.QByteArray()
. -
QShaderCode
Overloaded constructor for
QShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
QShaderCode
Overloaded constructor for
QShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
QShaderCode
public QShaderCode(byte [] code, byte [] entry) Overloaded constructor for
QShaderCode(io.qt.core.QByteArray, io.qt.core.QByteArray)
.
-
-
Method Details
-
entryPoint
-
equals
See
operator==(QShaderCode,
QShaderCode) -
setEntryPoint
-
setShader
-
shader
-
equals
See
operator==(QShaderCode,
QShaderCode) -
hashCode
Returns the objects's hash code computed byqHash(QShaderCode)
. -
clone
Creates and returns a copy of this object.
See
QShaderCode::
QShaderCode(QShaderCode) -
equals
Overloaded function for
equals(io.qt.gui.rhi.QShaderCode)
. -
setEntryPoint
Overloaded function for
setEntryPoint(io.qt.core.QByteArray)
. -
setShader
Overloaded function for
setShader(io.qt.core.QByteArray)
.
-