vertex_position(buffer,x,y)
Revision as of 19:07, 17 June 2018 by RobertBColton (talk | contribs)
Description
Adds the given 2D vertex to the given vertex buffer.
Parameters
Parameter | Data Type | Description |
---|---|---|
buffer | integer | Index of the vertex buffer. |
x | gs_scalar | x coordinate of the vertex to add |
y | gs_scalar | y coordinate of the vertex to add |
Return Values
void: This function does not return anything.
Example Call
// demonstrates adding the current object's x and y coordinates to a vertex buffer
vertex_position(dynamic_buffer, x, y);