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

◆ rebuild_buffers()

void MayaFlux::Buffers::SDFPrepProcessor::rebuild_buffers ( )
private

Definition at line 39 of file SDFPrepProcessor.cpp.

40{
42 .get_service<Registry::Service::BufferService>();
43
44 m_grid_buf = std::make_shared<VKBuffer>(
45 corner_count() * sizeof(float),
48 svc->initialize_buffer(m_grid_buf);
49
50 m_counter_buf = std::make_shared<VKBuffer>(
51 sizeof(uint32_t),
54 svc->initialize_buffer(m_counter_buf);
55}
uint32_t corner_count() const noexcept
std::shared_ptr< VKBuffer > m_counter_buf
std::shared_ptr< VKBuffer > m_grid_buf
@ HOST_STORAGE
Host-visible storage buffer (eStorageBuffer + eHostVisible|eHostCoherent)
Interface * get_service()
Query for a backend service.
static BackendRegistry & instance()
Get the global registry instance.
@ UNKNOWN
Unknown or undefined modality.

References corner_count(), MayaFlux::Registry::BackendRegistry::get_service(), MayaFlux::Buffers::VKBuffer::HOST_STORAGE, MayaFlux::Registry::BackendRegistry::instance(), m_counter_buf, m_grid_buf, and MayaFlux::Kakshya::UNKNOWN.

Referenced by on_attach(), and set_resolution().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: