77{
79 if (!entry.processor) {
81 entry.processor = std::make_shared<Buffers::DataReadProcessor>();
82 buffer->get_processing_chain()->add_processor(entry.processor,
buffer);
83 entry.processor->set_skip_while_pending(true);
84 }
85
88 return data;
89}
std::shared_ptr< NetworkGeometryBuffer > buffer
std::map< std::pair< const BufferOperation *, const Buffers::VKBuffer * >, GraphicsReader > m_readers
void arm_graphics_read(Buffers::DataReadProcessor &reader, const std::shared_ptr< Buffers::VKBuffer > &buffer)
Arm the read that suits what the buffer is.
std::optional< Kakshya::DataVariant > resolve_graphics_read(Buffers::DataReadProcessor &reader)
Finish the pending read as one DataVariant.