- All Implemented Interfaces:
QtObjectInterface
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>
-
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[]
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, QRect rect) Overloaded function forupdateColoredRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF)
.static void
updateColoredRectGeometry
(QSGGeometry g, QRectF rect) static void
updateRectGeometry
(QSGGeometry g, QRect rect) Overloaded function forupdateRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF)
.static void
updateRectGeometry
(QSGGeometry g, QRectF rect) static void
updateTexturedRectGeometry
(QSGGeometry g, QRectF rect, QRect sourceRect) Overloaded function forupdateTexturedRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF, io.qt.core.QRectF)
.static void
updateTexturedRectGeometry
(QSGGeometry g, QRectF rect, QRectF sourceRect) static void
updateTexturedRectGeometry
(QSGGeometry g, QRect rect, QRect sourceRect) Overloaded function forupdateTexturedRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF, io.qt.core.QRectF)
.static void
updateTexturedRectGeometry
(QSGGeometry g, QRect rect, QRectF sourceRect) Overloaded function forupdateTexturedRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF, io.qt.core.QRectF)
.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) - Parameters:
attribs
-vertexCount
-indexCount
-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
- Parameters:
vertexCount
-indexCount
-
-
attributeCount
- Returns:
-
attributes
- Returns:
-
drawingMode
- Returns:
-
indexCount
- Returns:
-
indexData
- Returns:
-
indexDataPattern
- Returns:
-
indexType
- Returns:
-
lineWidth
- Returns:
-
markIndexDataDirty
-
markVertexDataDirty
-
setDrawingMode
- Parameters:
mode
-
-
setIndexDataPattern
- Parameters:
p
-
-
setLineWidth
- Parameters:
w
-
-
setVertexDataPattern
- Parameters:
p
-
-
sizeOfIndex
- Returns:
-
sizeOfVertex
- Returns:
-
vertexCount
- Returns:
-
vertexDataPattern
- Returns:
-
defaultAttributes_ColoredPoint2D
- Returns:
-
defaultAttributes_Point2D
- Returns:
-
defaultAttributes_TexturedPoint2D
- Returns:
-
updateColoredRectGeometry
- Parameters:
g
-rect
-
-
updateRectGeometry
- Parameters:
g
-rect
-
-
updateTexturedRectGeometry
- Parameters:
g
-rect
-sourceRect
-
-
vertexData
-
allocate
Overloaded function for
allocate(int, int)
withindexCount = 0
. -
updateColoredRectGeometry
Overloaded function for
updateColoredRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF)
. -
updateRectGeometry
Overloaded function for
updateRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF)
. -
updateTexturedRectGeometry
Overloaded function for
updateTexturedRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF, io.qt.core.QRectF)
. -
updateTexturedRectGeometry
Overloaded function for
updateTexturedRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF, io.qt.core.QRectF)
. -
updateTexturedRectGeometry
Overloaded function for
updateTexturedRectGeometry(io.qt.quick.QSGGeometry, io.qt.core.QRectF, io.qt.core.QRectF)
.
-