VertexBuffer.render() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
primitive_type |
{constant:pr_*} |
No |
texture? |
Yes |
Not applicable.
Draw vertices contained in this Vertex Buffer to the currently active Surface, using the specified primitive type and either the specified or no texture, provided following requirements are met:
• A number of vertices appropriate for the specified primitive type is contained in this Vertex Buffer.
• Vertices were added to this Vertex Buffer with the same number and order of types of primitive data as in used Vertex Format.
• A Shader is currently active to operate exact the number and types of primitive data used in Vertex Format.