11 namespace DescriptorSetPool {
17 reinterpret_cast<size_t>(static_cast<VkImage>(skyBox->getImage())),
21 if (std::get<0>(result)) {
22 std::get<1>(result)->getDescriptorSet().updateImages(
25 VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
28 static_cast<VkSampler
>(skyBox->getSampler()),
29 static_cast<VkImageView>(skyBox->getImageView()),
30 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
36 return std::get<1>(result);
static const API::GraphicsPipeline & getPipeline()
const DescriptorSet * allocate(const ::lug::Graphics::Vulkan::Render::Texture *skyBox)
std::tuple< bool, const DescriptorSet * > allocate(size_t hash, const API::DescriptorSetLayout &descriptorSetLayout)
const PipelineLayout * getLayout() const
SkyBox(Renderer &renderer)
const std::vector< DescriptorSetLayout > & getDescriptorSetLayouts() const
Gets the DescriptorSetLayouts of the PipelineLayout. The PipelineLayout owns these DescriptorSetLayou...