This is one way (of many....) of instancing in opengl, that is, drawing more than one instance of an object with the same draw call. Using glDrawArraysInstanced()
Watch video OpenGL Instancing with gl InstanceID Vertex Shader Visual Studio 2017 online, duration online in high quality that is uploaded to the channel LearningOpenGL 19 October 2017. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,066 times and liked it 12 visitors.