Powerino73's picture

Line Width using vertexbuffer

Hi how is possible setting linewith using vertexbuffer (VBO)?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Powerino73's picture

Isit possible to set pattern?

Tal's picture

GL.DrawRangeElements(BeginMode.Lines, 0, indicesCount - 1, indicesCount,
DrawElementsType.UnsignedShort, IntPtr.Zero);

togis's picture

using
GL.Color4(linecolor);
GL.LineWidth(width);
before GL.DrawRangeElements or GL.DrawArray