sandbox
Loading...
Searching...
No Matches
sbx::graphics::descriptor_handler Class Reference

Public Member Functions

 descriptor_handler (std::uint32_t set)
 
 descriptor_handler (const pipeline &pipeline, std::uint32_t set)
 
template<typename Descriptor >
requires (std::is_base_of_v<descriptor, Descriptor>)
auto push (const std::string &name, const Descriptor &descriptor) -> void
 
auto push (const std::string &name, uniform_handler &uniform_handler) -> void
 
auto push (const std::string &name, storage_handler &storage_handler) -> void
 
auto bind_descriptors (command_buffer &command_buffer) -> void
 
auto descriptor_set () const noexcept -> VkDescriptorSet
 
auto update (const pipeline &pipeline) -> bool
 

Static Public Attributes

static constexpr auto global_set_id = std::uint32_t{0u}
 
static constexpr auto per_draw_call_set_id = std::uint32_t{1u}
 

The documentation for this class was generated from the following files: