change values name.

This commit is contained in:
2020-07-14 20:42:01 +08:00
parent 6b943e8210
commit b041fb5c14
8 changed files with 46 additions and 56 deletions

View File

@@ -38,7 +38,7 @@ private:
*ro_circle =nullptr,
*ro_round_rectangle =nullptr;
vulkan::Buffer * ubo_mvp =nullptr;
vulkan::Buffer * ubo_world_matrix =nullptr;
vulkan::Buffer * ubo_color_material =nullptr;
vulkan::Pipeline * pipeline =nullptr;
@@ -119,7 +119,7 @@ private:
cam.Refresh();
ubo_mvp =CreateUBO("world", sizeof(WorldMatrix),&cam.matrix);
ubo_world_matrix =CreateUBO("world", sizeof(WorldMatrix),&cam.matrix);
ubo_color_material =CreateUBO("color_material",sizeof(Vector4f),&color);
material_instance->Update();
@@ -182,7 +182,7 @@ public:
cam.Refresh();
ubo_mvp->Write(&cam.matrix);
ubo_world_matrix->Write(&cam.matrix);
BuildCommandBuffer(&render_list);
}