SBS增加DescriptorSetType数据,未来所有绑定地方使用此参数以避免对不上
This commit is contained in:
@@ -14,9 +14,12 @@ namespace blinnphong
|
||||
|
||||
constexpr const ShaderBufferSource SBS_SunLight=
|
||||
{
|
||||
"SunLight",
|
||||
DescriptorSetType::Scene,
|
||||
|
||||
"sun",
|
||||
|
||||
"SunLight",
|
||||
|
||||
R"(
|
||||
vec4 direction;
|
||||
vec4 color;
|
||||
|
Reference in New Issue
Block a user