Vertex format delete: Difference between revisions
Jump to navigation
Jump to search
m (→Description) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{FuncTitle|vertex_format_delete|}} | {{FuncTitle|vertex_format_delete|}} | ||
== Description == | == Description == | ||
Deletes the given vertex buffer format. After this function is called you can no longer use the vertex format and any vertex buffers that were given this format in [[vertex_begin]] can no longer be submitted unless a new format is specified with another call to [[vertex_begin]]. | Deletes the given vertex buffer format from memory. After this function is called you can no longer use the vertex format and any vertex buffers that were given this format in [[vertex_begin]] can no longer be submitted unless a new format is specified with another call to [[vertex_begin]]. | ||
== Parameters == | == Parameters == | ||
Line 15: | Line 15: | ||
== Example Call == | == Example Call == | ||
<syntaxhighlight lang="edl"> | <syntaxhighlight lang="edl"> | ||
// demonstrates | // demonstrates deleting a vertex format from memory | ||
vertex_format_delete(vf_position_color); | |||
vf_position_color | |||
</syntaxhighlight> | </syntaxhighlight> | ||
__NOTOC__ | __NOTOC__ | ||
{{Function:GM}} | {{Function:GM}} |
Revision as of 00:32, 18 June 2018
Description
Deletes the given vertex buffer format from memory. After this function is called you can no longer use the vertex format and any vertex buffers that were given this format in vertex_begin can no longer be submitted unless a new format is specified with another call to vertex_begin.
Parameters
Parameter | Description |
---|---|
none | This function has no parameters. |
Return Values
void: This function does not return anything.
Example Call
// demonstrates deleting a vertex format from memory
vertex_format_delete(vf_position_color);