This function adds a floating point value to the vertex data.
The vertex buffer must have been formatted correctly to accept this using the vertex_format_add_custom function.
vertex_float1(buffer, float);
| Argument | Type | Description |
|---|---|---|
| buffer | Vertex Buffer | The vertex buffer to write the information to. |
| float | Real | The input value. |
N/A
vertex_float1(buff, 0.05);
The above code adds a floating point value to the vertex data being defined.