Added UpdateMaterialInstance method. but no any test.

This commit is contained in:
2024-08-30 03:36:01 +08:00
parent 726a8ec635
commit 72ceffeda2
8 changed files with 81 additions and 7 deletions

View File

@@ -40,6 +40,7 @@ namespace hgl
virtual bool Render(RenderCmdBuffer *); ///<渲染所有对象
virtual void UpdateLocalToWorld(); ///<更新所有对象的变换数据
virtual void UpdateMaterialInstance(SceneNode *); ///<有对象互换了材质实例
virtual void Clear(); ///<彻底清理
};//class RenderList