norlesh
norlesh

Reputation: 1861

What does the suffix on the end of glGetProgramiv signify?

glGetProgramiv is referenced inside the documentation as glGetProgram but no mention is made of there being multiple versions - and I see no indication through google of there being other versions such as glGetProgrammiii or glGetProgramii. Is the iv prefix roman numerals related to some type of internal versioning during the specifications process or does it hold some other significance?

Upvotes: 2

Views: 124

Answers (1)

Piotr Praszmo
Piotr Praszmo

Reputation: 18340

Those suffixes are used to distinguish "overloaded" methods with same names and different parameters. iv means this version operates on vector of integers. It's the only version of glGetProgram at the moment.

Upvotes: 4

Related Questions