java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.quick.QSGGeometry.Attribute
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
- QSGGeometry
public static class QSGGeometry.Attribute extends QtObject implements Cloneable
QSGGeometry::Attribute describes a single vertex attribute in a QSGGeometry
Java wrapper for Qt class QSGGeometry::Attribute
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
Attribute(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QSGGeometry.AttributeType
attributeType()
QSGGeometry.Attribute
clone()
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)
boolean
isVertexCoordinate()
int
position()
int
tupleSize()
int
type()
-
Constructor Details
-
Attribute
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
create
Overloaded function for
create(int, int, int, boolean)
withisPosition = false
. -
create
public static QSGGeometry.Attribute create(int pos, int tupleSize, int primitiveType, boolean isPosition) -
createWithAttributeType
public static QSGGeometry.Attribute createWithAttributeType(int pos, int tupleSize, int primitiveType, QSGGeometry.AttributeType attributeType) -
position
-
isVertexCoordinate
-
type
-
attributeType
-
tupleSize
-
clone
-