TransformFeedback + GeometryShader: how to query amount of captured data?

hi, i’m currently using transformfeedback to capture some data from the geometryshader
the geometryshader doesnt create each invocation the same amount of primitives (points)

how can i query the amount of data that’s been captured ?

[QUOTE=john_connor;1283153]
how can i query the amount of data that’s been captured ?[/QUOTE]
glBeginQuery(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN)

More explicitly, you wrap your use of feedback in a query object. A GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN query will store the number of primitives generated by any feedback operation within the query’s scope.

ok, thanks, it works :slight_smile: