|
bool | init (VkDevice dev, VkDeviceSize min_ubo_align) |
|
VkDeviceSize | size (std::size_t n_frames) const |
|
u32 | offset (std::size_t i) const |
|
u32 | offset_no_light (std::size_t n_frames) const |
|
void | write (VkBuffer ubo, std::size_t n_frames, VkDeviceSize offset, VkSampler sampler, std::span< const VkImageView > shadow_map_views, std::span< const VkImageView > shadow_cube_views) const |
|
bool | init (VkDevice dev, VkDeviceSize min_ubo_align) |
|
VkDeviceSize | size (std::size_t n_frames) const |
|
u32 | offset (std::size_t i) const |
|
u32 | offset_no_light (std::size_t n_frames) const |
|
void | write (VkBuffer ubo, std::size_t n_frames, VkDeviceSize offset, VkSampler sampler, std::span< const VkImageView > shadow_map_views, std::span< const VkImageView > shadow_cube_views) const |
|
VkDeviceSize | alignment () const |
|
const std::bitset< MAX_FRAMES > & | updated () const |
|
std::bitset< MAX_FRAMES > & | updated () |
|
bool | init (VkDevice dev, VkDeviceSize size, VkDeviceSize min_ubo_align, std::span< const VkDescriptorSetLayoutBinding > bindings) |
|
VkDeviceSize | alignment () const |
|
const std::bitset< MAX_FRAMES > & | updated () const |
|
std::bitset< MAX_FRAMES > & | updated () |
|
bool | init (VkDevice dev, VkDeviceSize size, VkDeviceSize min_ubo_align, std::span< const VkDescriptorSetLayoutBinding > bindings) |
|
| DescriptorSets (void)=default |
|
| ~DescriptorSets (void) |
|
VkDescriptorSetLayout | layout (void) const |
|
std::span< const VkDescriptorSet > | ids (void) const |
|
bool | init (VkDevice dev, std::span< const VkDescriptorSetLayoutBinding > bindings) |
|
bool | reset (VkDescriptorPool pool, std::uint32_t max) |
|
void | destroy () |
| Destroys resources associated with the sets.
|
|
| DescriptorSets (void)=default |
|
| ~DescriptorSets (void) |
|
VkDescriptorSetLayout | layout (void) const |
|
std::span< const VkDescriptorSet > | ids (void) const |
|
bool | init (VkDevice dev, std::span< const VkDescriptorSetLayoutBinding > bindings) |
|
bool | reset (VkDescriptorPool pool, std::uint32_t max) |
|
void | destroy () |
| Destroys resources associated with the sets.
|
|