Questions tagged [qsgclipnode]

3 questions
8
votes
1 answer

How to use QSGGeometryNode without causing a memory leak and ensure correct clean up

I using a QSGGeometry, QSGVertexColorMaterial & a QSGGeometryNode to draw something real time on my QQuickItem derived class that is MyQuickItem here. Following is my updatePaintNode method where the crux of the repaint logic lies. QSGNode *…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
1
vote
1 answer

How to size the texture to occupy only a portion of a QQuickItem UI

I have overriden updatePaintNode in the following way to draw an OpenGL texture on a QQuickItem derived class called MyQQuickItem here. QSGNode *MyQQuickItem::updatePaintNode(QSGNode * oldNode, QQuickItem::UpdatePaintNodeData *…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
-1
votes
1 answer

How to use QSGClipNode with custom geometry?

How to use QSGClipNode with a custom geometry? This is a sample:
S.M.Mousavi
  • 5,013
  • 7
  • 44
  • 59