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

◆ UVFieldProcessor()

MayaFlux::Buffers::UVFieldProcessor::UVFieldProcessor ( )

Definition at line 12 of file UVFieldProcessor.cpp.

13 : ComputeProcessor("uv_field.comp.spv", 64)
14{
15 m_config.push_constant_size = sizeof(PushConstants);
16
17 m_config.bindings["vertices"] = ShaderBinding(0, 0, vk::DescriptorType::eStorageBuffer);
18
19 m_config.bindings["tex_sampler"] = ShaderBinding(0, 1, vk::DescriptorType::eCombinedImageSampler);
20}
ComputeProcessor(const std::string &shader_path, uint32_t workgroup_x=256)
Construct processor with shader path.
std::unordered_map< std::string, ShaderBinding > bindings

References MayaFlux::Buffers::ShaderConfig::bindings, MayaFlux::Buffers::ShaderProcessor::m_config, and MayaFlux::Buffers::ShaderConfig::push_constant_size.