|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::SDFFieldProcessor::SDFFieldProcessor | ( | std::shared_ptr< VKBuffer > | grid_buf, |
| const glm::vec3 & | bounds_min, | ||
| const glm::vec3 & | bounds_max, | ||
| uint32_t | res_x, | ||
| uint32_t | res_y, | ||
| uint32_t | res_z, | ||
| std::string | shader = "sdf_field_gyroid.comp" |
||
| ) |
| grid_buf | HOST_STORAGE buffer sized to (res_x+1)*(res_y+1)*(res_z+1) floats. Owned and zeroed each frame 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. |
Definition at line 7 of file SDFFieldProcessor.cpp.
References MayaFlux::Buffers::ShaderConfig::bindings, MayaFlux::Buffers::SDFFieldProcessor::PC::bounds_min, MayaFlux::Buffers::ShaderProcessor::m_config, m_pc, m_res_x, m_res_y, m_res_z, MayaFlux::Buffers::ShaderDispatchConfig::MANUAL, MayaFlux::Buffers::ShaderConfig::push_constant_size, MayaFlux::Buffers::SDFFieldProcessor::PC::res_x, MayaFlux::Buffers::SDFFieldProcessor::PC::res_y, MayaFlux::Buffers::SDFFieldProcessor::PC::res_z, MayaFlux::Buffers::ComputeProcessor::set_dispatch_mode(), MayaFlux::Buffers::ComputeProcessor::set_manual_dispatch(), and MayaFlux::Buffers::SDFFieldProcessor::PC::step.
Here is the call graph for this function: