Template:Apifunc: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
attempt to have a template that automatically links to API functions.
 
Documentation
Line 1: Line 1:
{{code|[[GLAPI/{{{1}}}|{{{1}}}]]}}
<noinclude>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.
 
<nowiki>{{apifunc|glDrawElements}}</nowiki> becomes: {{apifunc|glDrawElements}}.
 
</noinclude><includeonly>{{code|[[GLAPI/{{{1}}}|{{{1}}}]]}}</includeonly>

Revision as of 23:18, 24 February 2012

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.