- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QShaderDescription
Describes a member of a uniform or push constant block
Java wrapper for Qt class QShaderDescription::BlockVariable
- Since:
- This class was introduced in Qt 6.6.
-
Constructor Summary
ConstructorDescriptionSeeQShaderDescription::BlockVariable::
BlockVariable() BlockVariable
(byte [] name, QShaderDescription.VariableType type, int offset, int size, Collection<@QtPrimitiveType Integer> arrayDims, int arrayStride, int matrixStride, boolean matrixIsRowMajor, Collection<? extends QShaderDescription.BlockVariable> structMembers) BlockVariable
(QByteArray name, QShaderDescription.VariableType type, int offset, int size, Collection<@QtPrimitiveType Integer> arrayDims, int arrayStride, int matrixStride, boolean matrixIsRowMajor, Collection<? extends QShaderDescription.BlockVariable> structMembers) SeeQShaderDescription::BlockVariable::
BlockVariable{QByteArray, QShaderDescription::VariableType, int, int, QList<int>, int, int, bool, QList<QShaderDescription::BlockVariable>} SeeQShaderDescription::BlockVariable::
BlockVariable(QShaderDescription::BlockVariable) -
Method Summary
Modifier and TypeMethodDescriptionfinal QList<@QtPrimitiveType Integer>
final int
clone()
Creates and returns a copy of this object.final boolean
Seeoperator==(QShaderDescription::BlockVariable,
QShaderDescription::BlockVariable) boolean
Seeoperator==(QShaderDescription::BlockVariable,
QShaderDescription::BlockVariable) int
hashCode()
Returns the objects's hash code computed byqHash(QShaderDescription::BlockVariable)
.final boolean
final int
final QByteArray
name()
final int
offset()
final void
setArrayDims
(Collection<@QtPrimitiveType Integer> arrayDims) final void
setArrayStride
(int arrayStride) final void
setMatrixIsRowMajor
(boolean matrixIsRowMajor) final void
setMatrixStride
(int matrixStride) final void
setName
(byte [] name) Overloaded function forsetName(io.qt.core.QByteArray)
.final void
setName
(QByteArray name) final void
setOffset
(int offset) final void
setSize
(int size) final void
setStructMembers
(Collection<? extends QShaderDescription.BlockVariable> structMembers) final void
final int
size()
toString()
Seeoperator<<(QDebug,
QShaderDescription::BlockVariable) type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
BlockVariable
public BlockVariable()See
QShaderDescription::BlockVariable::
BlockVariable() -
BlockVariable
See
QShaderDescription::BlockVariable::
BlockVariable(QShaderDescription::BlockVariable) - Parameters:
other
-
-
BlockVariable
public BlockVariable(QByteArray name, QShaderDescription.VariableType type, int offset, int size, Collection<@QtPrimitiveType Integer> arrayDims, int arrayStride, int matrixStride, boolean matrixIsRowMajor, Collection<? extends QShaderDescription.BlockVariable> structMembers) See
QShaderDescription::BlockVariable::
BlockVariable{QByteArray, QShaderDescription::VariableType, int, int, QList<int>, int, int, bool, QList<QShaderDescription::BlockVariable>} - Parameters:
name
-type
-offset
-size
-arrayDims
-arrayStride
-matrixStride
-matrixIsRowMajor
-structMembers
-
-
BlockVariable
public BlockVariable(byte [] name, QShaderDescription.VariableType type, int offset, int size, Collection<@QtPrimitiveType Integer> arrayDims, int arrayStride, int matrixStride, boolean matrixIsRowMajor, Collection<? extends QShaderDescription.BlockVariable> structMembers)
-
-
Method Details
-
equals
See
operator==(QShaderDescription::BlockVariable,
QShaderDescription::BlockVariable) - Parameters:
rhs
-- Returns:
-
setArrayDims
- Parameters:
arrayDims
-
-
arrayDims
- Returns:
-
setArrayStride
- Parameters:
arrayStride
-
-
arrayStride
- Returns:
-
setMatrixIsRowMajor
- Parameters:
matrixIsRowMajor
-
-
matrixIsRowMajor
- Returns:
-
setMatrixStride
- Parameters:
matrixStride
-
-
matrixStride
- Returns:
-
setName
- Parameters:
name
-
-
name
- Returns:
-
setOffset
- Parameters:
offset
-
-
offset
- Returns:
-
setSize
- Parameters:
size
-
-
size
- Returns:
-
setStructMembers
@QtUninvokable public final void setStructMembers(Collection<? extends QShaderDescription.BlockVariable> structMembers) - Parameters:
structMembers
-
-
structMembers
- Returns:
-
setType
- Parameters:
type
-
-
type
- Returns:
-
equals
See
operator==(QShaderDescription::BlockVariable,
QShaderDescription::BlockVariable) -
hashCode
Returns the objects's hash code computed byqHash(QShaderDescription::BlockVariable)
. -
toString
See
operator<<(QDebug,
QShaderDescription::BlockVariable) -
clone
Creates and returns a copy of this object.
See
QShaderDescription::BlockVariable::
BlockVariable(QShaderDescription::BlockVariable) -
setName
Overloaded function for
setName(io.qt.core.QByteArray)
.
-