Template:Apifunc

From OpenGL Wiki
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.