comments few codes and then start next step.

This commit is contained in:
2023-09-05 10:28:03 +08:00
parent 9661336325
commit 6e8932fc2f
7 changed files with 60 additions and 62 deletions

View File

@@ -67,7 +67,7 @@ private:
material_instance[i]->SetFloat4(0,color_data[i]);
}*/
}
// pipeline=db->CreatePipeline(material_instance,sc_render_target,OS_TEXT("res/pipeline/solid2d"));
// pipeline=CreatePipeline(material_instance,InlinePipeline::Solid2D,Prim::Triangles); //等同上一行为Framework重载默认使用swapchain的render target

View File

@@ -1,5 +1,5 @@
// third_triangle
// 该范例主要演示使用场景树系统绘制三角形
// 该范例主要演示使用场景树系统绘制多个三角形并利用RenderList进行排序以及自动合并进行Instance渲染
#include"VulkanAppFramework.h"
#include<hgl/math/Math.h>