In init , I add the texture coordinates that are defined as the class's static members to the VertexBuffer.
在init中,向VertexBuffer增加了定义为类的静态成员的纹理坐标。
With the VertexBuffer approach, you have to remember all transformations as well as the relationship between objects.
如果使用 VertexBuffer方法,您必须记住所有的转换以及对象之间的关系。
When I created the VertexBuffer, I mentioned that you can assign several kinds of information to a vertex — colors for example.
创建VertexBuffer时,我曾提到可以为一个顶点指派多种类型的信息——颜色也是其中之一。
When I created the VertexBuffer, I mentioned that you can assign several kinds of information to a vertex — colors for example.
创建VertexBuffer时,我曾提到可以为一个顶点指派多种类型的信息——颜色也是其中之一。
应用推荐