Added CreateRenderList() in RenderFramework
This commit is contained in:
parent
52b6e88522
commit
eee00f3c8c
@ -99,9 +99,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tick(double)override{}
|
void Render(double delta_time,graph::RenderCmdBuffer *cmd)override
|
||||||
|
|
||||||
void Render(double delta_time,graph::RenderCmdBuffer *cmd)
|
|
||||||
{
|
{
|
||||||
cmd->SetClearColor(0,clear_color);
|
cmd->SetClearColor(0,clear_color);
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include<hgl/graph/VKCommandBuffer.h>
|
#include<hgl/graph/VKCommandBuffer.h>
|
||||||
#include<hgl/graph/module/SwapchainModule.h>
|
#include<hgl/graph/module/SwapchainModule.h>
|
||||||
#include<hgl/graph/module/GraphModuleManager.h>
|
#include<hgl/graph/module/GraphModuleManager.h>
|
||||||
|
#include<hgl/graph/RenderList.h>
|
||||||
|
|
||||||
VK_NAMESPACE_BEGIN
|
VK_NAMESPACE_BEGIN
|
||||||
|
|
||||||
@ -68,6 +69,11 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
RenderList *CreateRenderList()
|
||||||
|
{
|
||||||
|
return(new RenderList(device));
|
||||||
|
}
|
||||||
|
|
||||||
TileFont *CreateTileFont(FontSource *fs,int limit_count=-1); ///<创建只使用一种字符的Tile字符管理对象
|
TileFont *CreateTileFont(FontSource *fs,int limit_count=-1); ///<创建只使用一种字符的Tile字符管理对象
|
||||||
|
|
||||||
public: // event
|
public: // event
|
||||||
|
Loading…
x
Reference in New Issue
Block a user