TextRenderer.toVertexBuffer() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
string? |
Yes |
|
font? |
{Font} |
Yes |
location? |
{Vector2} |
Yes |
align? |
Yes |
|
scale? |
Yes |
|
angle? |
{Angle} |
Yes |
color? |
{int:color} |
Yes |
alpha? |
{real} |
Yes |
vertexBuffer? |
Yes |
{VertexBuffer.PrimitiveRenderData} | On error: {undefined}
Return rendering data of this constructor in a Vertex Buffer, using its current data or specified temporarily replaced parts. If specifying an already activated Vertex Buffer, it have been activated using a texture pointer of the exact same Font. If a Font stored in a Signed Distance Field is used, rendering data will be returned with event setup to resolve Signed Distance Field rendering through a built-in Shader.