View Full Version : glDrawElements count question.

01-21-2003, 07:25 AM
Im a little confused over the count parameter in the glDrawElements function. Say i am rendering 2 triangles, but i have an index of only needing 4 points. Would the count be, 2 for the number of triangles, 4 for the number of indexed points? Or 6 for the total number of points actualy rendered??? This is quite confusing to me, even though i know it shouldnt be.

01-21-2003, 07:48 AM
Count is the number of indices in the index array.