SBS增加DescriptorSetType数据,未来所有绑定地方使用此参数以避免对不上

This commit is contained in:
2025-06-09 22:52:10 +08:00
parent b5a5cb16c0
commit 784e7f0e0b
11 changed files with 51 additions and 22 deletions

View File

@@ -14,9 +14,12 @@ namespace blinnphong
constexpr const ShaderBufferSource SBS_SunLight=
{
"SunLight",
DescriptorSetType::Scene,
"sun",
"SunLight",
R"(
vec4 direction;
vec4 color;