java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QShader
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains multiple versions of a shader translated to multiple shading languages, together with reflection metadata
Java wrapper for Qt class QShader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Additional metadata about the native shader codestatic class
Mapping metadata for sampler uniformsstatic enum
Java wrapper for Qt enumQShader::SerializedFormatVersion
static enum
Java wrapper for Qt enumQShader::Source
static enum
Java wrapper for Qt enumQShader::Stage
static enum
Java wrapper for Qt enumQShader::Variant
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QList
<QShaderKey> clone()
Creates and returns a copy of this object.final QShaderDescription
final void
detach()
SeeQShader::
detach() final boolean
Seeoperator==(QShader,
QShader) boolean
Seeoperator==(QShader,
QShader) static QShader
fromSerialized
(byte [] data) Overloaded function forfromSerialized(io.qt.core.QByteArray)
.static QShader
fromSerialized
(QByteArray data) int
hashCode()
Returns the objects's hash code computed byqHash(QShader)
.final boolean
isValid()
final QShader.NativeShaderInfo
final void
final void
final void
final void
removeShader
(QShaderKey key) final QByteArray
Overloaded function forserialized(io.qt.gui.rhi.QShader.SerializedFormatVersion)
withversion = io.qt.gui.rhi.QShader.SerializedFormatVersion.Latest
.final QByteArray
final void
final void
final void
setResourceBindingMap
(QShaderKey key, Map<@QtPrimitiveType Integer, ? extends QPair<@QtPrimitiveType Integer, @QtPrimitiveType Integer>> map) final void
setSeparateToCombinedImageSamplerMappingList
(QShaderKey key, Collection<? extends QShader.SeparateToCombinedImageSamplerMapping> list) final void
setShader
(QShaderKey key, QByteArray shader) Overloaded function forsetShader(io.qt.gui.rhi.QShaderKey, io.qt.gui.rhi.QShaderCode)
.final void
setShader
(QShaderKey key, QShaderCode shader) final void
setStage
(QShader.Stage stage) final QShaderCode
shader
(QShaderKey key) final QShader.Stage
stage()
final void
toString()
Seeoperator<<(QDebug,
QShader) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QShader
public QShader() -
QShader
-
-
Method Details
-
availableShaders
-
description
-
detach
See
QShader::
detach() -
isValid
-
nativeResourceBindingMap
@QtUninvokable public final QMap<@QtPrimitiveType Integer,QPair<@QtPrimitiveType Integer, nativeResourceBindingMap@QtPrimitiveType Integer>> (QShaderKey key) -
nativeShaderInfo
-
assign
-
equals
See
operator==(QShader,
QShader) -
removeNativeShaderInfo
-
removeResourceBindingMap
-
removeSeparateToCombinedImageSamplerMappingList
-
removeShader
-
separateToCombinedImageSamplerMappingList
@QtUninvokable public final QList<QShader.SeparateToCombinedImageSamplerMapping> separateToCombinedImageSamplerMappingList(QShaderKey key) -
serialized
-
setDescription
-
setNativeShaderInfo
-
setResourceBindingMap
@QtUninvokable public final void setResourceBindingMap(QShaderKey key, Map<@QtPrimitiveType Integer, ? extends QPair<@QtPrimitiveType Integer, @QtPrimitiveType Integer>> map) -
setSeparateToCombinedImageSamplerMappingList
@QtUninvokable public final void setSeparateToCombinedImageSamplerMappingList(QShaderKey key, Collection<? extends QShader.SeparateToCombinedImageSamplerMapping> list) -
setShader
-
setStage
-
shader
-
stage
-
swap
-
fromSerialized
-
equals
See
operator==(QShader,
QShader) -
hashCode
Returns the objects's hash code computed byqHash(QShader)
. -
toString
See
operator<<(QDebug,
QShader) -
clone
Creates and returns a copy of this object.
-
serialized
Overloaded function for
serialized(io.qt.gui.rhi.QShader.SerializedFormatVersion)
withversion = io.qt.gui.rhi.QShader.SerializedFormatVersion.Latest
. -
setShader
Overloaded function for
setShader(io.qt.gui.rhi.QShaderKey, io.qt.gui.rhi.QShaderCode)
. -
fromSerialized
Overloaded function for
fromSerialized(io.qt.core.QByteArray)
.
-