Point.toVertexBuffer() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
location? |
{Vector2} |
Yes |
color? |
{int:color} |
Yes |
alpha? |
{real} |
Yes |
vertexBuffer? |
Yes |
{VertexBuffer.PrimitiveRenderData|undefined}
Return rendering data of this constructor in a Vertex Buffer, using its current data or specified temporarily replaced parts. In case of invisible or invalid render, {undefined} will be returned instead.