QSGGeometry¶
- PyQt5.QtQuick.QSGGeometry
Description¶
TODO
Enums¶
- AttributeType
TODO
Member
Value
Description
ColorAttribute TODO
TODO
PositionAttribute TODO
TODO
TexCoord1Attribute TODO
TODO
TexCoord2Attribute TODO
TODO
TexCoordAttribute TODO
TODO
UnknownAttribute TODO
TODO
- DataPattern
TODO
Member
Value
Description
AlwaysUploadPattern TODO
TODO
DynamicPattern TODO
TODO
StaticPattern TODO
TODO
StreamPattern TODO
TODO
- DrawingMode
TODO
Member
Value
Description
DrawLineLoop TODO
TODO
DrawLines TODO
TODO
DrawLineStrip TODO
TODO
DrawPoints TODO
TODO
DrawTriangleFan TODO
TODO
DrawTriangles TODO
TODO
DrawTriangleStrip TODO
TODO
- Type
TODO
Member
Value
Description
Bytes2Type TODO
TODO
Bytes3Type TODO
TODO
Bytes4Type TODO
TODO
ByteType TODO
TODO
DoubleType TODO
TODO
FloatType TODO
TODO
IntType TODO
TODO
ShortType TODO
TODO
UnsignedByteType TODO
TODO
UnsignedIntType TODO
TODO
UnsignedShortType TODO
TODO
Attributes¶
- GL_BYTE: int
This is a read-only attribute.
TODO
- GL_DOUBLE: int
This is a read-only attribute.
TODO
- GL_FLOAT: int
This is a read-only attribute.
TODO
- GL_INT: int
This is a read-only attribute.
TODO
- GL_LINE_LOOP: int
This is a read-only attribute.
TODO
- GL_LINE_STRIP: int
This is a read-only attribute.
TODO
- GL_LINES: int
This is a read-only attribute.
TODO
- GL_POINTS: int
This is a read-only attribute.
TODO
- GL_TRIANGLE_FAN: int
This is a read-only attribute.
TODO
- GL_TRIANGLE_STRIP: int
This is a read-only attribute.
TODO
- GL_TRIANGLES: int
This is a read-only attribute.
TODO
Methods¶
- __init__(QSGGeometry)
TODO
- __init__(AttributeSet, int, indexCount: int = 0, indexType: int = GL_UNSIGNED_SHORT)
TODO
- allocate(int, indexCount: int = 0)
TODO
- attributeCount() → int
TODO
- attributes() → sip.array[QSGGeometry.Attribute]
TODO
-
@staticmethod
defaultAttributes_ColoredPoint2D() → AttributeSet TODO
-
@staticmethod
defaultAttributes_Point2D() → AttributeSet TODO
-
@staticmethod
defaultAttributes_TexturedPoint2D() → AttributeSet TODO
- drawingMode() → int
TODO
- indexCount() → int
TODO
- indexData() → sip.voidptr
TODO
- indexDataAsUInt() → sip.array[int]
TODO
- indexDataAsUShort() → sip.array[int]
TODO
- indexDataPattern() → DataPattern
TODO
- indexType() → int
TODO
- lineWidth() → float
TODO
- markIndexDataDirty()
TODO
- markVertexDataDirty()
TODO
- setDrawingMode(int)
TODO
- setIndexDataPattern(DataPattern)
TODO
- setLineWidth(float)
TODO
- setVertexDataPattern(DataPattern)
TODO
- sizeOfIndex() → int
TODO
- sizeOfVertex() → int
TODO
-
@staticmethod
updateColoredRectGeometry(QSGGeometry, QRectF) TODO
-
@staticmethod
updateRectGeometry(QSGGeometry, QRectF) TODO
-
@staticmethod
updateTexturedRectGeometry(QSGGeometry, QRectF, QRectF) TODO
- vertexCount() → int
TODO
- vertexData() → sip.voidptr
TODO
- vertexDataAsColoredPoint2D() → sip.array[QSGGeometry.ColoredPoint2D]
TODO
- vertexDataAsPoint2D() → sip.array[QSGGeometry.Point2D]
TODO
- vertexDataAsTexturedPoint2D() → sip.array[QSGGeometry.TexturedPoint2D]
TODO
- vertexDataPattern() → DataPattern
TODO