java.lang.Object
io.qt.QtObject
io.qt.quick.QSGGeometry
- All Implemented Interfaces:
QtObjectInterface
Low-level storage for graphics primitives in the Qt Quick Scene Graph
Java wrapper for Qt's 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 enum QSGGeometry::AttributeTypestatic class
QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a colorstatic class
static enum
Java wrapper for Qt enum QSGGeometry::DataPatternstatic enum
Java wrapper for Qt enum QSGGeometry::DrawingModestatic 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 enum QSGGeometry::Typestatic class
QSGGeometry.VertexData<T extends QtObjectInterface>
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QSGGeometry
(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[]
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
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
-
QSGGeometry
public QSGGeometry(QSGGeometry.AttributeSet attribs, int vertexCount, int indexCount, int indexType) -
QSGGeometry
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
allocate
Overloaded function for
allocate(int, int)
withindexCount = 0
. -
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
-