新的Vulkan Framework

This commit is contained in:
2019-06-18 00:48:05 +08:00
parent 84bce16954
commit ece292965c
9 changed files with 115 additions and 74 deletions

View File

@@ -178,7 +178,6 @@ private:
render_root.RefreshMatrix();
render_root.ExpendToList(&render_list);
BuildCommandBuffer(&render_list);
return(true);
}
@@ -205,10 +204,14 @@ public:
return(true);
}
void Resize(int,int)override
void BuildCommandBuffer(uint32_t index) override
{
BuildCommandBuffer(&render_list);
render_root.RefreshMatrix();
render_list.Clear();
render_root.ExpendToList(&render_list);
VulkanApplicationFramework::BuildCommandBuffer(index,&render_list);
}
};//class TestApp:public CameraAppFramework