一:API介绍
绘制图元,使用给定的顶点索引数组。
参数mode 指定图元类型
参数count 指定顶点个数
参数type 指定顶点索引数组元素的数据类型
参数indices 指定顶点索引数组
二:示例
#include "test.hpp"
namespace
{
char const* VERTEX_SHADER_SOURCE("es-200/flat-color.vert");
char const* FRAGMENT_SHADER_SOURCE("es-200/flat-color.frag");
GLsizei const ElementCount(6);
GLsizeiptr const ElementSize = Elem