Difference between revisions of "Template:Extref"

From OpenGL.org
Jump to: navigation, search
(EXT example.)
(Categorizing templates.)
 
Line 19: Line 19:
 
Currently does not work for WGL/GLX extensions.
 
Currently does not work for WGL/GLX extensions.
  
 +
[[Category:Inline Formatting Templates]]
 
</noinclude><includeonly>[http://www.opengl.org/registry/specs/{{{2|ARB}}}/{{{1}}}.txt {{{2|ARB}}}_{{{1}}}]</includeonly>
 
</noinclude><includeonly>[http://www.opengl.org/registry/specs/{{{2|ARB}}}/{{{1}}}.txt {{{2|ARB}}}_{{{1}}}]</includeonly>

Latest revision as of 19:07, 5 February 2013

This template represents an inline reference to an extension specification. It will automatically link to its page on the OpenGL registry.

Example:

{{extref|vertex_attrib_binding}}

becomes:

ARB_vertex_attrib_binding

For non-ARB extensions, you can use:

{{extref|texture_swizzle|EXT}}

Which yields:

EXT_texture_swizzle

Currently does not work for WGL/GLX extensions.