java.lang.Object
io.qt.QtObject
io.qt.quick.QSGGeometry
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Low-level storage for graphics primitives in the Qt Quick Scene Graph
Java wrapper for Qt class QSGGeometry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
QSGGeometry::Attribute describes a single vertex attribute in a QSGGeometrystatic class
QSGGeometry::AttributeSet describes how the vertices in a QSGGeometry are built upstatic enum
Java wrapper for Qt enumQSGGeometry::AttributeType
static class
QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a colorstatic class
static enum
Java wrapper for Qt enumQSGGeometry::DataPattern
static enum
Java wrapper for Qt enumQSGGeometry::DrawingMode
static class
QSGGeometry::Point2D struct is a convenience struct for accessing 2D Pointsstatic class
static class
QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinatesstatic class
static enum
Java wrapper for Qt enumQSGGeometry::Type
static class
QSGGeometry.VertexData<T extends QtObjectInterface>
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQSGGeometry
(QSGGeometry.AttributeSet attribs, int vertexCount) Overloaded constructor forQSGGeometry(io.qt.quick.QSGGeometry.AttributeSet, int, int, int)
QSGGeometry
(QSGGeometry.AttributeSet attribs, int vertexCount, int indexCount) Overloaded constructor forQSGGeometry(io.qt.quick.QSGGeometry.AttributeSet, int, int, int)
withindexType = 5123
.QSGGeometry
(QSGGeometry.AttributeSet attribs, int vertexCount, int indexCount, int indexType) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
allocate
(int vertexCount) Overloaded function forallocate(int, int)
withindexCount = 0
.final void
allocate
(int vertexCount, int indexCount) final int
final QSGGeometry.Attribute []
clone()
Creates and returns a copy of this object.static QSGGeometry.AttributeSet
static QSGGeometry.AttributeSet
static QSGGeometry.AttributeSet
final int
final int
final Buffer
final QSGGeometry.DataPattern
final int
final float
final void
final void
final void
setDrawingMode
(int mode) final void
final void
setLineWidth
(float w) final void
final int
final int
static void
updateColoredRectGeometry
(QSGGeometry g, QRectF rect) static void
updateRectGeometry
(QSGGeometry g, QRectF rect) static void
updateTexturedRectGeometry
(QSGGeometry g, QRectF rect, QRectF sourceRect) final int
final QSGGeometry.DataPattern
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGGeometry
public QSGGeometry(QSGGeometry.AttributeSet attribs, int vertexCount, int indexCount, int indexType) -
QSGGeometry
Overloaded constructor for
QSGGeometry(io.qt.quick.QSGGeometry.AttributeSet, int, int, int)
withindexType = 5123
. -
QSGGeometry
Overloaded constructor for
QSGGeometry(io.qt.quick.QSGGeometry.AttributeSet, int, int, int)
with:
indexCount = 0
indexType = 5123
-
-
Method Details
-
allocate
-
attributeCount
-
attributes
-
drawingMode
-
indexCount
-
indexData
-
indexDataPattern
-
indexType
-
lineWidth
-
markIndexDataDirty
-
markVertexDataDirty
-
setDrawingMode
-
setIndexDataPattern
-
setLineWidth
-
setVertexDataPattern
-
sizeOfIndex
-
sizeOfVertex
-
vertexCount
-
vertexDataPattern
-
defaultAttributes_ColoredPoint2D
-
defaultAttributes_Point2D
-
defaultAttributes_TexturedPoint2D
-
updateColoredRectGeometry
-
updateRectGeometry
-
updateTexturedRectGeometry
-
vertexData
-
clone
Creates and returns a copy of this object.
-
allocate
Overloaded function for
allocate(int, int)
withindexCount = 0
.
-