Template:Apifunc

From OpenGL Wiki
Revision as of 22:55, 28 March 2012 by Alfonse (talk | contribs) (multi-text trick.)
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.