- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QSGGeometry
QSGGeometry::Attribute describes a single vertex attribute in a QSGGeometry
Java wrapper for Qt class QSGGeometry::Attribute
-
Constructor Summary
ConstructorDescriptionAttribute
(int position, int tupleSize, int type, boolean isVertexCoordinate, QSGGeometry.AttributeType attributeType, int reserved) SeeQSGGeometry::Attribute::
Attribute{int, int, int, uint, QSGGeometry::AttributeType, uint} Attribute
(QSGGeometry.Attribute other) SeeQSGGeometry::Attribute::
Attribute(QSGGeometry::Attribute) -
Method Summary
Modifier and TypeMethodDescriptionSeeQSGGeometry::Attribute::
attributeType clone()
Creates and returns a copy of this object.static QSGGeometry.Attribute
create
(int pos, int tupleSize, int primitiveType) Overloaded function forcreate(int, int, int, boolean)
withisPosition = false
.static QSGGeometry.Attribute
create
(int pos, int tupleSize, int primitiveType, boolean isPosition) static QSGGeometry.Attribute
createWithAttributeType
(int pos, int tupleSize, int primitiveType, QSGGeometry.AttributeType attributeType) final boolean
equals
(QSGGeometry.Attribute value2) Seeoperator==(QSGGeometry::Attribute,
QSGGeometry::Attribute) boolean
Seeoperator==(QSGGeometry::Attribute,
QSGGeometry::Attribute) int
hashCode()
Returns the objects's hash code computed byqHash(QSGGeometry::Attribute)
.final boolean
SeeQSGGeometry::Attribute::
isVertexCoordinate final int
position()
SeeQSGGeometry::Attribute::
position final int
SeeQSGGeometry::Attribute::
tupleSize final int
type()
SeeQSGGeometry::Attribute::
type Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Attribute
See
QSGGeometry::Attribute::
Attribute(QSGGeometry::Attribute) - Parameters:
other
-
-
Attribute
public Attribute(int position, int tupleSize, int type, boolean isVertexCoordinate, QSGGeometry.AttributeType attributeType, int reserved) See
QSGGeometry::Attribute::
Attribute{int, int, int, uint, QSGGeometry::AttributeType, uint} - Parameters:
position
-tupleSize
-type
-isVertexCoordinate
-attributeType
-reserved
-
-
-
Method Details
-
equals
See
operator==(QSGGeometry::Attribute,
QSGGeometry::Attribute) - Parameters:
value2
-- Returns:
-
create
public static QSGGeometry.Attribute create(int pos, int tupleSize, int primitiveType, boolean isPosition) - Parameters:
pos
-tupleSize
-primitiveType
-isPosition
-- Returns:
-
createWithAttributeType
public static QSGGeometry.Attribute createWithAttributeType(int pos, int tupleSize, int primitiveType, QSGGeometry.AttributeType attributeType) - Parameters:
pos
-tupleSize
-primitiveType
-attributeType
-- Returns:
-
attributeType
See
QSGGeometry::Attribute::
attributeType - Returns:
-
isVertexCoordinate
See
QSGGeometry::Attribute::
isVertexCoordinate - Returns:
-
position
See
QSGGeometry::Attribute::
position - Returns:
-
tupleSize
See
QSGGeometry::Attribute::
tupleSize - Returns:
-
type
See
QSGGeometry::Attribute::
type - Returns:
-
equals
See
operator==(QSGGeometry::Attribute,
QSGGeometry::Attribute) -
hashCode
Returns the objects's hash code computed byqHash(QSGGeometry::Attribute)
. -
clone
Creates and returns a copy of this object.
See
QSGGeometry::Attribute::
Attribute(QSGGeometry::Attribute) -
create
Overloaded function for
create(int, int, int, boolean)
withisPosition = false
.
-