Difference between revisions of "Template:Glapi buffertargets"

From OpenGL Wiki
Jump to navigation Jump to search
(Template for API function buffer targets. So we only have to change it in one place.)
 
(categorization)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
; target
+
; {{{name|target}}}
: Specifies the target buffer object. The symbolic constant must be {{enum|GL_ARRAY_BUFFER}}, {{enum|GL_ATOMIC_COUNTER_BUFFER}}, {{enum|GL_COPY_READ_BUFFER}}, {{enum|GL_COPY_WRITE_BUFFER}}, {{enum|GL_DRAW_INDIRECT_BUFFER}}, {{enum|GL_DISPATCH_INDIRECT_BUFFER}}, {{enum|GL_ELEMENT_ARRAY_BUFFER}}, {{enum|GL_PIXEL_PACK_BUFFER}}, {{enum|GL_PIXEL_UNPACK_BUFFER}}, {{enum|GL_SHADER_STORAGE_BUFFER}}, {{enum|GL_TEXTURE_BUFFER}}, {{enum|GL_TRANSFORM_FEEDBACK_BUFFER}}, or {{enum|GL_UNIFORM_BUFFER}}.
+
: {{{desc|Specifies the target buffer object.}}} The symbolic constant must be {{enum|GL_ARRAY_BUFFER}}, {{enum|GL_ATOMIC_COUNTER_BUFFER}}, {{enum|GL_COPY_READ_BUFFER}}, {{enum|GL_COPY_WRITE_BUFFER}}, {{enum|GL_DRAW_INDIRECT_BUFFER}}, {{enum|GL_DISPATCH_INDIRECT_BUFFER}}, {{enum|GL_ELEMENT_ARRAY_BUFFER}}, {{enum|GL_PIXEL_PACK_BUFFER}}, {{enum|GL_PIXEL_UNPACK_BUFFER}}, {{enum|GL_QUERY_BUFFER}}, {{enum|GL_SHADER_STORAGE_BUFFER}}, {{enum|GL_TEXTURE_BUFFER}}, {{enum|GL_TRANSFORM_FEEDBACK_BUFFER}}, or {{enum|GL_UNIFORM_BUFFER}}.
 +
<noinclude>[[Category:Template API Helpers]]</noinclude>

Latest revision as of 00:30, 25 July 2013

target
Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.