增加纹理封装

This commit is contained in:
2018-12-08 19:03:35 +08:00
parent 7cf879207f
commit dda548dc6f
14 changed files with 1230 additions and 3 deletions

View File

@@ -85,8 +85,8 @@ constexpr float vertex_data[]={ -0.75f, 0.75f,
constexpr float texcoord_data[]={ -0.25,-0.25,
-0.25, 1.25,
1.25,-0.25,
1.25, 1.25 };
1.25, 1.25
};
void BindVBO2VAO(const int vao,const int binding_index,const int shader_location,VertexBufferBase *vb)
{