add RenderPassTypeBy and cache

This commit is contained in:
2021-09-22 15:32:20 +08:00
parent 9f80a02821
commit b5188a63ea
10 changed files with 125 additions and 43 deletions

View File

@@ -49,7 +49,7 @@ namespace hgl
RenderTarget *rt=CreateRenderTarget(size.x,size.y,format);
if(!rt)return(false);
ThemeForm *tf=CreateForm(f,rt);
form_list.Add(f,tf);