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

◆ write() [13/16]

template<typename T >
void MayaFlux::Portal::Forma::Bridge::write ( std::shared_ptr< MappedState< T > >  state,
std::shared_ptr< Buffers::VKBuffer >  target_buffer,
const std::string &  shader_path,
const std::string &  descriptor_name,
uint32_t  binding_index,
uint32_t  set,
Portal::Graphics::DescriptorRole  role = Portal::Graphics::DescriptorRole::UNIFORM 
)
inline

Definition at line 324 of file Bridge.hpp.

331 {
332 write(ref_of(state), std::move(target_buffer), shader_path,
333 descriptor_name, binding_index, set, role);
334 }
void write(std::shared_ptr< MappedState< T > > state, std::function< void(std::span< const float >)> sink)
Definition Bridge.hpp:138
static ElementRef ref_of(const std::shared_ptr< MappedState< T > > &state)
Definition Bridge.hpp:702