10 namespace DescriptorSetPool {
16 reinterpret_cast<size_t>(static_cast<VkBuffer>(*subBuffer.
getBuffer())),
20 if (std::get<0>(result) && std::get<1>(result)) {
21 std::get<1>(result)->getDescriptorSet().updateBuffers(
24 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC,
27 static_cast<VkBuffer
>(*subBuffer.
getBuffer()),
35 return std::get<1>(result);
Resource::SharedPtr< Render::Pipeline > getPipeline(Render::Pipeline::Id id)
const API::Buffer * getBuffer() const
const DescriptorSet * allocate(const BufferPool::SubBuffer &subBuffer)
std::tuple< bool, const DescriptorSet * > allocate(size_t hash, const API::DescriptorSetLayout &descriptorSetLayout)
Camera(Renderer &renderer)