MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ info()

vk::DescriptorBufferInfo MayaFlux::Portal::Graphics::SlotArena::info ( size_t slot) const
nodiscard

Buffer, offset and range of a slot, ready for a descriptor write.

Definition at line 98 of file SlotMachine.cpp.

99{
100 return vk::DescriptorBufferInfo { m_buffer->get_buffer_resources().buffer, slot * m_stride, m_slot_bytes };
101}
std::shared_ptr< Buffers::VKBuffer > m_buffer

References m_buffer, m_slot_bytes, and m_stride.