not run.
This commit is contained in:
parent
160ba000d3
commit
f555c77a83
@ -23,6 +23,11 @@ class DescriptorSet
|
||||
|
||||
bool is_dirty;
|
||||
|
||||
protected: //动态UBO/SSBO记录
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
friend class GPUDevice;
|
||||
|
@ -6,9 +6,12 @@
|
||||
#include<hgl/graph/VKDescriptorSet.h>
|
||||
#include<hgl/graph/VKDescriptorSetType.h>
|
||||
#include<hgl/graph/VKMaterialDescriptorManager.h>
|
||||
#include<hgl/graph/VKArrayBuffer.h>
|
||||
VK_NAMESPACE_BEGIN
|
||||
class MaterialParameters
|
||||
{
|
||||
protected:
|
||||
|
||||
const MaterialDescriptorManager *desc_manager;
|
||||
|
||||
DescriptorSetType set_type;
|
||||
@ -29,6 +32,13 @@ public:
|
||||
|
||||
const uint32_t GetDescriptorCount ()const{return desc_manager->GetBindCount(set_type);} ///<获取总共需要绑定的描述符数量
|
||||
|
||||
const uint32_t GetDynamicCount ()const
|
||||
{
|
||||
//返回动态ubo/ssbo总量
|
||||
|
||||
//考虑将
|
||||
}
|
||||
|
||||
const uint32_t GetBoundCount ()const{return descriptor_set->GetCount();} ///<获取已经绑好的数量
|
||||
const bool IsReady ()const{return descriptor_set->IsReady();} ///<是否全部绑好了
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user