Template:Apifunc

From OpenGL Wiki
Revision as of 23:06, 5 February 2013 by Alfonse (talk | contribs) (Categorizing templates.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used for inline references to OpenGL API functions. You must spell the API function exactly correctly, or the link will not work.

{{apifunc|glDrawElements}} becomes: glDrawElements.

An additional parameter can be applied, which is used as part of the link:

{{apifunc|glDrawElements|some text}} becomes: glDrawElementssome text.