Using Slate to draw a Grid Pattern to Screen - Any tips for faster line rendering?

OpenGL/DirectX have dedicated operations for drawing lines, I’ve used those methods to draw millions of lines on mobile devices with incredible performance even on low-end devices.

https://www.opengl.org/sdk/docs/man3/xhtml/glDrawArrays.xml
GL_LINE_STRIP and so on…

Ok, I’ve digged a bit into slate implementation, Epic is actually rendering with GL_LINES if you disable antialiasing on DrawLines(), the magic is in ElementBatcher.cpp, method AddLineElement().