Added WorkObject::CreateRenderable(...)

This commit is contained in:
2025-01-28 22:20:48 +08:00
parent 3c2f7ad705
commit a03770fd00
4 changed files with 50 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#include<hgl/graph/RenderFramework.h>
#include<hgl/type/object/TickObject.h>
#include<hgl/graph/RenderFramework.h>
#include<hgl/Time.h>
//#include<iostream>
@@ -60,6 +60,12 @@ namespace hgl
{
return render_pass->CreatePipeline(args...);
}
graph::Renderable *CreateRenderable( const AnsiString &name,
uint32_t vertices_count,
graph::MaterialInstance *mi,
graph::Pipeline *pipeline,
const std::initializer_list<graph::VertexAttribDataPtr> &vad_list);
};//class WorkObject
/**