Template:Apifunc

From OpenGL.org
Jump to: navigation, 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.