RodenLuo / cpp_questions

0 stars 0 forks source link

the maximum number of vertex attributes output weird number #6

Open RodenLuo opened 3 years ago

RodenLuo commented 3 years ago

image

ondrejstrnad commented 3 years ago

int vs unit?

RodenLuo commented 3 years ago

image

RodenLuo commented 3 years ago

https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glGet.xhtml

Use glGetInteger64v

image

Used a conversion to convert int back to uint:

image

This is quite a large number. Should this be something around 16 or 32 from my impression?