use VAB instead VertexAttribBuffer.

use VAD instead VertexAttribData.
This commit is contained in:
2020-08-07 21:59:20 +08:00
parent 1964e5da04
commit d26b59cb1d
23 changed files with 79 additions and 58 deletions

View File

@@ -69,8 +69,8 @@ private:
vulkan::Sampler * sampler_linear =nullptr;
vulkan::Sampler * sampler_nearest =nullptr;
vulkan::VertexAttribBuffer * vertex_buffer =nullptr;
vulkan::VertexAttribBuffer * tex_coord_buffer =nullptr;
vulkan::VAB * vertex_buffer =nullptr;
vulkan::VAB * tex_coord_buffer =nullptr;
vulkan::IndexBuffer * index_buffer =nullptr;
SceneNode render_root;