Hello, i dont really get what’s possible with glDrawElements.
I want to read whats happening in glDrawElements.
When i call this function like
glDrawElements(GLenum mode,GLsizei count,GLenum type,const GLvoid *indices)
{
//code here
}
Then what does “count” contain? Is it possible to check if an object is drawn by a number.
So for example something like this.
if(count == 1200)
{
//the cube is drawn
}