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

◆ rebuild_grid_buffer()

void MayaFlux::Buffers::VolumeSurfaceProcessor::rebuild_grid_buffer ( )
private

Allocate the corner grid buffer for the current resolution.

Definition at line 36 of file VolumeSurfaceProcessor.cpp.

37{
39 .get_service<Registry::Service::BufferService>();
40
41 m_grid_buf = std::make_shared<VKBuffer>(
42 corner_count() * sizeof(float),
43 VKBuffer::Usage::HOST_STORAGE,
45
46 svc->initialize_buffer(m_grid_buf);
47}
uint32_t corner_count() const noexcept
Corner count of the grid, one greater per axis than the extraction resolution.
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::Registry::BackendRegistry::instance(), m_grid_buf, and MayaFlux::Kakshya::UNKNOWN.

Referenced by VolumeSurfaceProcessor().

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