此函数将 3D 位置数据 (x、y 和 z) 添加到正在创建的新顶点格式中。
vertex_format_add_position_3d();
N/A
vertex_format_begin();vertex_format_add_colour();vertex_format_add_position_3d();my_format = vertex_format_end();
上面的代码创建了一个仅包含颜色和位置值的新顶点格式,然后将该格式存储在变量 my_format 中。