2021-09-14 20:31:15 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include<hgl/graph/VK.h>
|
|
|
|
|
#include<hgl/graph/VKShaderResource.h>
|
|
|
|
|
#include<hgl/type/Map.h>
|
|
|
|
|
#include<hgl/type/Sets.h>
|
|
|
|
|
VK_NAMESPACE_BEGIN
|
|
|
|
|
struct PipelineLayoutData
|
|
|
|
|
{
|
|
|
|
|
VkDevice device;
|
|
|
|
|
|
2021-09-27 21:20:22 +08:00
|
|
|
|
int binding_count[size_t(DescriptorSetsType::RANGE_SIZE)];
|
|
|
|
|
VkDescriptorSetLayout layouts[size_t(DescriptorSetsType::RANGE_SIZE)];
|
2021-09-14 20:31:15 +08:00
|
|
|
|
|
2021-09-27 21:20:22 +08:00
|
|
|
|
VkDescriptorSetLayout fin_dsl[size_t(DescriptorSetsType::RANGE_SIZE)];
|
2021-09-14 20:31:15 +08:00
|
|
|
|
uint32_t fin_dsl_count;
|
|
|
|
|
|
|
|
|
|
VkPipelineLayout pipeline_layout;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
~PipelineLayoutData();
|
|
|
|
|
};//class PipelineLayoutData
|
|
|
|
|
VK_NAMESPACE_END
|