Vertex float1: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{FuncTitle|vertex_float1|}} == Description == General description of the function. == Parameters == {| class="funcpars" ! Parameter !! Data Type !! Description |- |} == Return...") |
m (→Description) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{FuncTitle|vertex_float1|}} | {{FuncTitle|vertex_float1|buffer,f1}} | ||
== Description == | == Description == | ||
Adds a single floating point value to the given vertex buffer. | |||
== Parameters == | == Parameters == | ||
Line 7: | Line 7: | ||
! Parameter !! Data Type !! Description | ! Parameter !! Data Type !! Description | ||
|- | |- | ||
| buffer || integer || Index of the vertex buffer. | |||
|- | |||
| f1 || float || First floating point value to add. | |||
|} | |} | ||
== Return Values == | == Return Values == | ||
''' | '''void''': This function does not return anything. | ||
== Example Call == | == Example Call == | ||
<syntaxhighlight lang="edl"> | <syntaxhighlight lang="edl"> | ||
// | // demonstrates adding a single floating-point value to a vertex buffer | ||
vertex_float1(static_buffer, 0.5f); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
__NOTOC__ | __NOTOC__ | ||
{{Function:GM}} | {{Function:GM}} |
Latest revision as of 19:26, 17 June 2018
Description
Adds a single floating point value to the given vertex buffer.
Parameters
Parameter | Data Type | Description |
---|---|---|
buffer | integer | Index of the vertex buffer. |
f1 | float | First floating point value to add. |
Return Values
void: This function does not return anything.
Example Call
// demonstrates adding a single floating-point value to a vertex buffer
vertex_float1(static_buffer, 0.5f);