- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the shader resource for a single binding point
Java wrapper for Qt class QRhiShaderResourceBinding
This class was introduced in Qt 6.6.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQRhiShaderResourceBinding::StageFlag
static final class
QFlags
type for enumQRhiShaderResourceBinding.StageFlag
static class
Java wrapper for Qt classQRhiShaderResourceBinding::TextureAndSampler
static enum
Java wrapper for Qt enumQRhiShaderResourceBinding::Type
-
Constructor Summary
ConstructorDescriptionSeeQRhiShaderResourceBinding::
QRhiShaderResourceBinding() SeeQRhiShaderResourceBinding::
QRhiShaderResourceBinding(QRhiShaderResourceBinding) -
Method Summary
Modifier and TypeMethodDescriptionstatic QRhiShaderResourceBinding
bufferLoad
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) static QRhiShaderResourceBinding
bufferLoad
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) static QRhiShaderResourceBinding
bufferLoadStore
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) static QRhiShaderResourceBinding
bufferLoadStore
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) static QRhiShaderResourceBinding
bufferStore
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) static QRhiShaderResourceBinding
bufferStore
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) clone()
Creates and returns a copy of this object.final boolean
Seeoperator==(QRhiShaderResourceBinding,
QRhiShaderResourceBinding) boolean
Seeoperator==(QRhiShaderResourceBinding,
QRhiShaderResourceBinding) int
hashCode()
Returns the objects's hash code computed byqHash(QRhiShaderResourceBinding)
.static QRhiShaderResourceBinding
imageLoad
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) static QRhiShaderResourceBinding
imageLoadStore
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) static QRhiShaderResourceBinding
imageStore
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) final boolean
static QRhiShaderResourceBinding
sampledTexture
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, QRhiSampler sampler) static QRhiShaderResourceBinding
sampledTextures
(int binding, QRhiShaderResourceBinding.StageFlags stage, int count, QRhiShaderResourceBinding.TextureAndSampler texSamplers) static QRhiShaderResourceBinding
sampler
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiSampler sampler) static void
serializeLayoutDescription
(QRhiShaderResourceBinding [] first, QRhiShaderResourceBinding last, int [] dst) static void
serializeLayoutDescription
(QRhiShaderResourceBinding [] first, QRhiShaderResourceBinding last, IntBuffer dst) SeeQRhiShaderResourceBinding::
serializeLayoutDescription<Output>(const QRhiShaderResourceBinding*, const QRhiShaderResourceBinding*, Output) static void
serializeLayoutDescription
(QRhiShaderResourceBinding [] first, Collection<@QtPrimitiveType Integer> dst) SeeQRhiShaderResourceBinding::
serializeLayoutDescription<Output>(const QRhiShaderResourceBinding*, const QRhiShaderResourceBinding*, Output) static QRhiShaderResourceBinding
texture
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex) static QRhiShaderResourceBinding
textures
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture [] tex) toString()
Seeoperator<<(QDebug,
QRhiShaderResourceBinding) static QRhiShaderResourceBinding
uniformBuffer
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) static QRhiShaderResourceBinding
uniformBuffer
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) static QRhiShaderResourceBinding
uniformBufferWithDynamicOffset
(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int size) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRhiShaderResourceBinding
public QRhiShaderResourceBinding()See
QRhiShaderResourceBinding::
QRhiShaderResourceBinding() -
QRhiShaderResourceBinding
See
QRhiShaderResourceBinding::
QRhiShaderResourceBinding(QRhiShaderResourceBinding)
-
-
Method Details
-
isLayoutCompatible
-
equals
See
operator==(QRhiShaderResourceBinding,
QRhiShaderResourceBinding) -
bufferLoad
public static QRhiShaderResourceBinding bufferLoad(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) -
bufferLoad
public static QRhiShaderResourceBinding bufferLoad(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) -
bufferLoadStore
public static QRhiShaderResourceBinding bufferLoadStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) -
bufferLoadStore
public static QRhiShaderResourceBinding bufferLoadStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) -
bufferStore
public static QRhiShaderResourceBinding bufferStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) -
bufferStore
public static QRhiShaderResourceBinding bufferStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) -
imageLoad
public static QRhiShaderResourceBinding imageLoad(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) -
imageLoadStore
public static QRhiShaderResourceBinding imageLoadStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) -
imageStore
public static QRhiShaderResourceBinding imageStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) -
sampledTexture
public static QRhiShaderResourceBinding sampledTexture(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, QRhiSampler sampler) -
sampledTextures
public static QRhiShaderResourceBinding sampledTextures(int binding, QRhiShaderResourceBinding.StageFlags stage, int count, QRhiShaderResourceBinding.TextureAndSampler texSamplers) -
sampler
public static QRhiShaderResourceBinding sampler(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiSampler sampler) -
serializeLayoutDescription
public static void serializeLayoutDescription(QRhiShaderResourceBinding [] first, Collection<@QtPrimitiveType Integer> dst) See
QRhiShaderResourceBinding::
serializeLayoutDescription<Output>(const QRhiShaderResourceBinding*, const QRhiShaderResourceBinding*, Output) -
serializeLayoutDescription
public static void serializeLayoutDescription(QRhiShaderResourceBinding [] first, QRhiShaderResourceBinding last, IntBuffer dst) See
QRhiShaderResourceBinding::
serializeLayoutDescription<Output>(const QRhiShaderResourceBinding*, const QRhiShaderResourceBinding*, Output) -
texture
public static QRhiShaderResourceBinding texture(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex) -
textures
public static QRhiShaderResourceBinding textures(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture [] tex) -
uniformBuffer
public static QRhiShaderResourceBinding uniformBuffer(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) -
uniformBuffer
public static QRhiShaderResourceBinding uniformBuffer(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) -
uniformBufferWithDynamicOffset
public static QRhiShaderResourceBinding uniformBufferWithDynamicOffset(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int size) -
equals
See
operator==(QRhiShaderResourceBinding,
QRhiShaderResourceBinding) -
hashCode
Returns the objects's hash code computed byqHash(QRhiShaderResourceBinding)
. -
toString
See
operator<<(QDebug,
QRhiShaderResourceBinding) -
clone
Creates and returns a copy of this object.
See
QRhiShaderResourceBinding::
QRhiShaderResourceBinding(QRhiShaderResourceBinding) -
serializeLayoutDescription
public static void serializeLayoutDescription(QRhiShaderResourceBinding [] first, QRhiShaderResourceBinding last, int [] dst)
-