- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QShaderDescription
Describes a uniform block
Java wrapper for Qt class QShaderDescription::UniformBlock
- Since:
- This class was introduced in Qt 6.6.
-
Constructor Summary
ConstructorDescriptionSeeQShaderDescription::UniformBlock::
UniformBlock() UniformBlock
(byte [] blockName, byte [] structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) Overloaded constructor forUniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)
.UniformBlock
(byte [] blockName, QByteArray structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) Overloaded constructor forUniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)
.UniformBlock
(QByteArray blockName, byte [] structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) Overloaded constructor forUniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)
.UniformBlock
(QByteArray blockName, QByteArray structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) SeeQShaderDescription::UniformBlock::
UniformBlock{QByteArray, QByteArray, int, int, int, QList<QShaderDescription::BlockVariable>} SeeQShaderDescription::UniformBlock::
UniformBlock(QShaderDescription::UniformBlock) -
Method Summary
Modifier and TypeMethodDescriptionfinal int
binding()
final QByteArray
clone()
Creates and returns a copy of this object.final int
final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QShaderDescription::UniformBlock)
.members()
final void
setBinding
(int binding) final void
setBlockName
(byte [] blockName) Overloaded function forsetBlockName(io.qt.core.QByteArray)
.final void
setBlockName
(QByteArray blockName) final void
setDescriptorSet
(int descriptorSet) final void
setMembers
(Collection<? extends QShaderDescription.BlockVariable> members) final void
setSize
(int size) final void
setStructName
(byte [] structName) Overloaded function forsetStructName(io.qt.core.QByteArray)
.final void
setStructName
(QByteArray structName) final int
size()
final QByteArray
toString()
Seeoperator<<(QDebug,
QShaderDescription::UniformBlock) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
UniformBlock
public UniformBlock()See
QShaderDescription::UniformBlock::
UniformBlock() -
UniformBlock
See
QShaderDescription::UniformBlock::
UniformBlock(QShaderDescription::UniformBlock) - Parameters:
other
-
-
UniformBlock
public UniformBlock(QByteArray blockName, QByteArray structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) See
QShaderDescription::UniformBlock::
UniformBlock{QByteArray, QByteArray, int, int, int, QList<QShaderDescription::BlockVariable>} - Parameters:
blockName
-structName
-size
-binding
-descriptorSet
-members
-
-
UniformBlock
public UniformBlock(byte [] blockName, QByteArray structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) Overloaded constructor for
UniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)
. -
UniformBlock
public UniformBlock(QByteArray blockName, byte [] structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) Overloaded constructor for
UniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)
. -
UniformBlock
public UniformBlock(byte [] blockName, byte [] structName, int size, int binding, int descriptorSet, Collection<? extends QShaderDescription.BlockVariable> members) Overloaded constructor for
UniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)
.
-
-
Method Details
-
equals
- Parameters:
rhs
-- Returns:
-
setBinding
- Parameters:
binding
-
-
binding
- Returns:
-
setBlockName
- Parameters:
blockName
-
-
blockName
- Returns:
-
setDescriptorSet
- Parameters:
descriptorSet
-
-
descriptorSet
- Returns:
-
setMembers
@QtUninvokable public final void setMembers(Collection<? extends QShaderDescription.BlockVariable> members) - Parameters:
members
-
-
members
- Returns:
-
setSize
- Parameters:
size
-
-
size
- Returns:
-
setStructName
- Parameters:
structName
-
-
structName
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QShaderDescription::UniformBlock)
. -
toString
See
operator<<(QDebug,
QShaderDescription::UniformBlock) -
clone
Creates and returns a copy of this object.
See
QShaderDescription::UniformBlock::
UniformBlock(QShaderDescription::UniformBlock) -
setBlockName
Overloaded function for
setBlockName(io.qt.core.QByteArray)
. -
setStructName
Overloaded function for
setStructName(io.qt.core.QByteArray)
.
-