You can create your vertex shader in two ways ( that i know ) 创建顶点着色程序你可有两种方法。
2.
The only differences are the format of the data they contain and the flexible vertex format specified when the vertex buffer is created 两者之间仅存在以下差异:它们包含的数据的格式不同,且创建顶点缓冲区时指定的灵活顶点的格式不同。