Attribute#

Synopsis#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtQuick.QSGGeometry.Attribute#
PySide6.QtQuick.QSGGeometry.Attribute.position#
PySide6.QtQuick.QSGGeometry.Attribute.tupleSize#
PySide6.QtQuick.QSGGeometry.Attribute.type#
PySide6.QtQuick.QSGGeometry.Attribute.isVertexCoordinate#
PySide6.QtQuick.QSGGeometry.Attribute.attributeType#
PySide6.QtQuick.QSGGeometry.Attribute.reserved#
static PySide6.QtQuick.QSGGeometry.Attribute.create(pos, tupleSize, primitiveType[, isPosition=false])#
Parameters:
  • pos – int

  • tupleSize – int

  • primitiveType – int

  • isPosition – bool

Return type:

PySide6.QtQuick.QSGGeometry.Attribute

static PySide6.QtQuick.QSGGeometry.Attribute.createWithAttributeType(pos, tupleSize, primitiveType, attributeType)#
Parameters:
  • pos – int

  • tupleSize – int

  • primitiveType – int

  • attributeTypeAttributeType

Return type:

PySide6.QtQuick.QSGGeometry.Attribute