How to pass vertexes attributes with glvertexattribpointer ?

Hello everyone!

I want to create a geometry shader for drawing custom lines. To do that I need to pass custom attributes for each vertex to the shader. 

If there is a way to do that ?

Kirill Gavrilov's picture

I think if you will clarify your use case in more detail, there will be more chances to receive an answer.

This is an OCCT forum, thus the topics are expected to be related to Open CASCADE Technology, but from your question this relation it is unclear.
There are better places for asking help with OpenGL.