SBS增加DescriptorSetType数据,未来所有绑定地方使用此参数以避免对不上
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include<hgl/type/Map.h>
|
||||
#include<hgl/type/String.h>
|
||||
#include<hgl/graph/VK.h>
|
||||
#include<hgl/graph/VKDescriptorSetType.h>
|
||||
|
||||
VK_NAMESPACE_BEGIN
|
||||
|
||||
@@ -46,6 +45,9 @@ public:
|
||||
template<typename T>
|
||||
bool AddUBO(const AnsiString &name,DeviceBufferMap<T> *dbm)
|
||||
{
|
||||
if(name.IsEmpty()||!dbm)
|
||||
return(false);
|
||||
|
||||
return AddUBO(name,dbm->GetDeviceBuffer());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user