将顶点输入流最终格式绑定放在MaterialInstance中,并改动相关类。

This commit is contained in:
2021-11-29 20:12:10 +08:00
parent 424b4b8a6f
commit f55186a9c8
23 changed files with 202 additions and 195 deletions

View File

@@ -14,7 +14,6 @@ struct ShaderStage
uint location;
VertexAttribType type; ///<成份数量(如vec4中的4)
VkFormat format; ///<对应的Vulkan格式(如vec4对应的FMT_RGBA32F)
uint binding;