[LWJGL] Conditional rendering?

I have six sets of verts (hexagon,triangle, quad, pentagon, right triangle, diamond-ish , null). For testing purposes whose algorithm i will use in my main project, I pass a random number between 0 and 6 which determines the shape and loops and this loops on for 100 times, adding transform mats to them. Now, how do I render them conditionally the most efficiently (since my main project requires hundereds of instances PER RENDER AREA (chunk))?