moved few codes to TextureManager

This commit is contained in:
2024-11-05 23:12:35 +08:00
parent 88f5948a2e
commit 95e9fe79a9
10 changed files with 45 additions and 29 deletions

View File

@@ -50,7 +50,6 @@ class RenderResource
ShaderModuleMapByName shader_module_by_name[VK_SHADER_STAGE_TYPE_COUNT];
Map<AnsiString,Material *> material_by_name;
//Map<OSString,Texture *> texture_by_name;
IDObjectManage<MaterialID, Material> rm_material; ///<材质合集
IDObjectManage<MaterialInstanceID, MaterialInstance> rm_material_instance; ///<材质实例合集