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

◆ UVFieldProcessor()

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

Definition at line 11 of file UVFieldProcessor.cpp.

12 : ComputeProcessor("uv_field.comp.spv", 64)
13{
14 m_config.push_constant_size = sizeof(PushConstants);
15
16 m_config.bindings["vertices"] = ShaderBinding(0, 0, vk::DescriptorType::eStorageBuffer);
17
18 m_config.bindings["tex_sampler"] = ShaderBinding(0, 1, vk::DescriptorType::eCombinedImageSampler);
19}
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.