PDA

View Full Version : Max # of VAOs? VBOs?



Harvey_Birdman
12-29-2015, 06:23 PM
Does the spec give a guaranteed minimum for the number of VAOs one may allocate? Is there any way to determine the number allowed by a given implementation? (A relevant glGet parameter, perhaps?)

How about VBOs? Is there a guaranteed minimum, or a way to determine the number provided by a particular implementation?

(I'm poking through the spec, but I thought maybe someone might know offhand.)


TIA

GClements
12-30-2015, 03:51 AM
Does the spec give a guaranteed minimum for the number of VAOs one may allocate? Is there any way to determine the number allowed by a given implementation? (A relevant glGet parameter, perhaps?)

How about VBOs? Is there a guaranteed minimum, or a way to determine the number provided by a particular implementation?

For objects allocated via a glGen* or glCreate* function, the only limits on the total number of objects which can be created are available memory and the fact that the size of a GLuint typically restricts you to 232 distinct values. Consequently, there's no glGet parameter to query a limit, and no defined minimum value.

Harvey_Birdman
12-30-2015, 08:54 AM
Thanks for the response - very helpful.