nngn
Loading...
Searching...
No Matches
anonymous_namespace{vulkan.cpp}::CameraDescriptorSets Class Reference
Inheritance diagram for anonymous_namespace{vulkan.cpp}::CameraDescriptorSets:
Collaboration diagram for anonymous_namespace{vulkan.cpp}::CameraDescriptorSets:

Public Member Functions

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_screen (std::size_t i) const
 
u32 offset_light (std::size_t i, std::size_t il) const
 
void write (VkBuffer ubo, VkDeviceSize offset) 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_screen (std::size_t i) const
 
u32 offset_light (std::size_t i, std::size_t il) const
 
void write (VkBuffer ubo, VkDeviceSize offset) const
 
- Public Member Functions inherited from anonymous_namespace{vulkan.cpp}::UBODescriptorSets
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)
 
- Public Member Functions inherited from nngn::DescriptorSets
 DescriptorSets (void)=default
 
 ~DescriptorSets (void)
 
VkDescriptorSetLayout layout (void) const
 
std::span< const VkDescriptorSetids (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 VkDescriptorSetids (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.
 

Static Private Member Functions

static constexpr VkDeviceSize size ()
 
static constexpr VkDeviceSize size ()
 

Additional Inherited Members

- Protected Attributes inherited from nngn::DescriptorSets
VkDevice dev = {}
 

Member Function Documentation

◆ init() [1/2]

bool anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::init ( VkDevice  dev,
VkDeviceSize  min_ubo_align 
)
Here is the caller graph for this function:

◆ init() [2/2]

bool anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::init ( VkDevice  dev,
VkDeviceSize  min_ubo_align 
)

◆ offset() [1/2]

u32 anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::offset ( std::size_t  i) const

◆ offset() [2/2]

u32 anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::offset ( std::size_t  i) const

◆ offset_light() [1/2]

u32 anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::offset_light ( std::size_t  i,
std::size_t  il 
) const
Here is the caller graph for this function:

◆ offset_light() [2/2]

u32 anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::offset_light ( std::size_t  i,
std::size_t  il 
) const

◆ offset_screen() [1/2]

u32 anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::offset_screen ( std::size_t  i) const

◆ offset_screen() [2/2]

u32 anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::offset_screen ( std::size_t  i) const

◆ size() [1/4]

constexpr VkDeviceSize anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::size ( )
staticconstexprprivate
Here is the caller graph for this function:

◆ size() [2/4]

static constexpr VkDeviceSize anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::size ( )
staticconstexprprivate

◆ size() [3/4]

VkDeviceSize anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::size ( std::size_t  n_frames) const
Here is the caller graph for this function:

◆ size() [4/4]

VkDeviceSize anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::size ( std::size_t  n_frames) const

◆ write() [1/2]

void anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::write ( VkBuffer  ubo,
VkDeviceSize  offset 
) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write() [2/2]

void anonymous_namespace{vulkan.cpp}::CameraDescriptorSets::write ( VkBuffer  ubo,
VkDeviceSize  offset 
) const

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