Commit 392e8e15 authored by Gunnar Sletta's avatar Gunnar Sletta Committed by The Qt Project
Browse files

improve docs of QSGGeometry::set[Vertex|Index]DataPattern


Change-Id: I6ca0d8549891302cc9d71bdfac11704752caaf60
Reviewed-by: default avatarYoann Lopes <yoann.lopes@digia.com>
parent ec684501
No related merge requests found
Showing with 4 additions and 2 deletions
...@@ -705,7 +705,8 @@ void QSGGeometry::updateTexturedRectGeometry(QSGGeometry *g, const QRectF &rect, ...@@ -705,7 +705,8 @@ void QSGGeometry::updateTexturedRectGeometry(QSGGeometry *g, const QRectF &rect,
The default is AlwaysUploadPattern. When set to anything other than The default is AlwaysUploadPattern. When set to anything other than
the default, the user must call markIndexDataDirty() after changing the default, the user must call markIndexDataDirty() after changing
the index data. the index data, in addition to calling QSGNode::markDirty() with
QSGNode::DirtyGeometry.
*/ */
void QSGGeometry::setIndexDataPattern(DataPattern p) void QSGGeometry::setIndexDataPattern(DataPattern p)
...@@ -728,7 +729,8 @@ void QSGGeometry::setIndexDataPattern(DataPattern p) ...@@ -728,7 +729,8 @@ void QSGGeometry::setIndexDataPattern(DataPattern p)
The default is AlwaysUploadPattern. When set to anything other than The default is AlwaysUploadPattern. When set to anything other than
the default, the user must call markVertexDataDirty() after changing the default, the user must call markVertexDataDirty() after changing
the vertex data. the vertex data, in addition to calling QSGNode::markDirty() with
QSGNode::DirtyGeometry.
*/ */
void QSGGeometry::setVertexDataPattern(DataPattern p) void QSGGeometry::setVertexDataPattern(DataPattern p)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment