GeometryRenderer QML Type
Encapsulates geometry rendering. More...
Import Statement: | import Qt3D.Render 2.12 |
Since: | Qt 5.7 |
Instantiates: | QGeometryRenderer |
Inherits: |
Properties
- firstInstance : int
- firstVertex : int
- geometry : Geometry
- indexBufferByteOffset : int
- indexOffset : int
- instanceCount : int
- primitiveRestart : bool
- primitiveType : enumeration
- restartIndex : int
- vertexCount : int
- verticesPerPatch : int
Detailed Description
A GeometryRenderer holds all the information necessary to draw a Geometry. A Geometry holds the coordinates of the geometry data - GeometryRenderer specifies how to interpret that data.
Property Documentation
firstInstance : int |
Holds the base instance.
firstVertex : int |
Holds the first vertex.
geometry : Geometry |
Holds the geometry.
indexBufferByteOffset : int |
Holds the byte offset into the index buffer.
indexOffset : int |
Holds the base vertex.
instanceCount : int |
Holds the instance count.
primitiveRestart : bool |
Holds the primitive restart flag.
primitiveType : enumeration |
Holds the primitive type.
- QGeometryRenderer.Points
- QGeometryRenderer.Lines
- QGeometryRenderer.LineLoop
- QGeometryRenderer.LineStrip
- QGeometryRenderer.Triangles
- QGeometryRenderer.TriangleStrip
- QGeometryRenderer.TriangleFan
- QGeometryRenderer.LinesAdjacency
- QGeometryRenderer.TrianglesAdjacency
- QGeometryRenderer.LineStripAdjacency
- QGeometryRenderer.TriangleStripAdjacency
- QGeometryRenderer.Patches
restartIndex : int |
Holds the restart index.
vertexCount : int |
Holds the vertex count.
verticesPerPatch : int |
Holds vertices per patch.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.