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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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() boolean
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, QShaderCode shader) final void
setStage
(QShader.Stage stage) final QShaderCode
shader
(QShaderKey key) final QShader.Stage
stage()
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
-
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
-
fromSerialized
-
equals
-
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
.
-