mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
docs: clarify cogl_vertex_buffer_adds docs
This adds a clarification that cogl_vertex_buffer_add can also be used to replace a previously added attribute with the same name.
This commit is contained in:
parent
b351aa4af4
commit
df07edf83e
@ -129,7 +129,8 @@ cogl_vertex_buffer_get_n_vertices (CoglHandle handle);
|
|||||||
* must remain valid until you either call cogl_vertex_buffer_submit() or
|
* must remain valid until you either call cogl_vertex_buffer_submit() or
|
||||||
* issue a draw call.
|
* issue a draw call.
|
||||||
*
|
*
|
||||||
* Adds an attribute to a buffer.
|
* Adds an attribute to a buffer, or replaces a previously added
|
||||||
|
* attribute with the same name.
|
||||||
*
|
*
|
||||||
* You either can use one of the built-in names such as "gl_Vertex", or
|
* You either can use one of the built-in names such as "gl_Vertex", or
|
||||||
* "gl_MultiTexCoord0" to add standard attributes, like positions, colors
|
* "gl_MultiTexCoord0" to add standard attributes, like positions, colors
|
||||||
|
Loading…
Reference in New Issue
Block a user