|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::SDFMeshProcessor::SDFMeshProcessor | ( | std::shared_ptr< VKBuffer > | grid_buf, |
| std::shared_ptr< VKBuffer > | counter_buf, | ||
| const glm::vec3 & | bounds_min, | ||
| const glm::vec3 & | bounds_max, | ||
| uint32_t | res_x, | ||
| uint32_t | res_y, | ||
| uint32_t | res_z, | ||
| float | iso_level | ||
| ) |
Construct in GPU-field mode with externally owned buffers.
grid_buf and counter_buf are owned by SdfPrepProcessor and pre-zeroed before this processor runs. evaluate_grid() is never called in this mode.
| grid_buf | Corner grid buffer written by SdfFieldProcessor. |
| counter_buf | Atomic vertex counter buffer, zeroed by SdfPrepProcessor. |
| bounds_min | World-space minimum corner. |
| bounds_max | World-space maximum corner. |
| res_x | Cell count along X. |
| res_y | Cell count along Y. |
| res_z | Cell count along Z. |
| iso_level | Isosurface threshold. |
Definition at line 48 of file SDFMeshProcessor.cpp.
References MayaFlux::Buffers::ShaderConfig::bindings, MayaFlux::Buffers::ShaderProcessor::m_config, MayaFlux::Buffers::ShaderDispatchConfig::MANUAL, MayaFlux::Buffers::ShaderConfig::push_constant_size, rebuild_lookup_buffers(), and MayaFlux::Buffers::ComputeProcessor::set_dispatch_mode().
Here is the call graph for this function: