- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the shader resource for a single binding point
Java wrapper for Qt class QRhiShaderResourceBinding
- Since:
- 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
boolean
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) - Parameters:
other
-
-
-
Method Details
-
isLayoutCompatible
- Parameters:
other
-- Returns:
-
equals
- Parameters:
b
-- Returns:
-
bufferLoad
public static QRhiShaderResourceBinding bufferLoad(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) - Parameters:
binding
-stage
-buf
-- Returns:
-
bufferLoad
public static QRhiShaderResourceBinding bufferLoad(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) - Parameters:
binding
-stage
-buf
-offset
-size
-- Returns:
-
bufferLoadStore
public static QRhiShaderResourceBinding bufferLoadStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) See
QRhiShaderResourceBinding::
bufferLoadStore(int, QRhiShaderResourceBinding::StageFlags, QRhiBuffer*) - Parameters:
binding
-stage
-buf
-- Returns:
-
bufferLoadStore
public static QRhiShaderResourceBinding bufferLoadStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) - Parameters:
binding
-stage
-buf
-offset
-size
-- Returns:
-
bufferStore
public static QRhiShaderResourceBinding bufferStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) - Parameters:
binding
-stage
-buf
-- Returns:
-
bufferStore
public static QRhiShaderResourceBinding bufferStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) - Parameters:
binding
-stage
-buf
-offset
-size
-- Returns:
-
imageLoad
public static QRhiShaderResourceBinding imageLoad(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) See
QRhiShaderResourceBinding::
imageLoad(int, QRhiShaderResourceBinding::StageFlags, QRhiTexture*, int) - Parameters:
binding
-stage
-tex
-level
-- Returns:
-
imageLoadStore
public static QRhiShaderResourceBinding imageLoadStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) - Parameters:
binding
-stage
-tex
-level
-- Returns:
-
imageStore
public static QRhiShaderResourceBinding imageStore(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, int level) See
QRhiShaderResourceBinding::
imageStore(int, QRhiShaderResourceBinding::StageFlags, QRhiTexture*, int) - Parameters:
binding
-stage
-tex
-level
-- Returns:
-
sampledTexture
public static QRhiShaderResourceBinding sampledTexture(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex, QRhiSampler sampler) - Parameters:
binding
-stage
-tex
-sampler
-- Returns:
-
sampledTextures
public static QRhiShaderResourceBinding sampledTextures(int binding, QRhiShaderResourceBinding.StageFlags stage, int count, QRhiShaderResourceBinding.TextureAndSampler texSamplers) - Parameters:
binding
-stage
-count
-texSamplers
-- Returns:
-
sampler
public static QRhiShaderResourceBinding sampler(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiSampler sampler) - Parameters:
binding
-stage
-sampler
-- Returns:
-
serializeLayoutDescription
public static void serializeLayoutDescription(QRhiShaderResourceBinding [] first, Collection<@QtPrimitiveType Integer> dst) See
QRhiShaderResourceBinding::
serializeLayoutDescription<Output>(const QRhiShaderResourceBinding*, const QRhiShaderResourceBinding*, Output) - Parameters:
first
-dst
-
-
serializeLayoutDescription
public static void serializeLayoutDescription(QRhiShaderResourceBinding [] first, QRhiShaderResourceBinding last, IntBuffer dst) See
QRhiShaderResourceBinding::
serializeLayoutDescription<Output>(const QRhiShaderResourceBinding*, const QRhiShaderResourceBinding*, Output) - Parameters:
first
-last
-dst
-
-
texture
public static QRhiShaderResourceBinding texture(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture tex) - Parameters:
binding
-stage
-tex
-- Returns:
-
textures
public static QRhiShaderResourceBinding textures(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiTexture [] tex) See
QRhiShaderResourceBinding::
textures(int, QRhiShaderResourceBinding::StageFlags, int, QRhiTexture**) - Parameters:
binding
-stage
-tex
-- Returns:
-
uniformBuffer
public static QRhiShaderResourceBinding uniformBuffer(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf) - Parameters:
binding
-stage
-buf
-- Returns:
-
uniformBuffer
public static QRhiShaderResourceBinding uniformBuffer(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int offset, int size) - Parameters:
binding
-stage
-buf
-offset
-size
-- Returns:
-
uniformBufferWithDynamicOffset
public static QRhiShaderResourceBinding uniformBufferWithDynamicOffset(int binding, QRhiShaderResourceBinding.StageFlags stage, QRhiBuffer buf, int size) - Parameters:
binding
-stage
-buf
-size
-- Returns:
-
equals
-
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)
-