|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::DescriptorBindingsProcessor::bind_network | ( | const std::string & | name, |
| const std::shared_ptr< Nodes::Network::NodeNetwork > & | network, | ||
| const std::string & | descriptor_name, | ||
| uint32_t | set, | ||
| Portal::Graphics::DescriptorRole | role = Portal::Graphics::DescriptorRole::STORAGE |
||
| ) |
Bind a NodeNetwork to a descriptor.
Resolves source type at bind time:
Fails hard if the network satisfies neither condition.
| name | Logical binding name |
| network | NodeNetwork to read from |
| descriptor_name | Name in shader config bindings |
| set | Descriptor set index |
| role | Descriptor role (default: STORAGE) |
Definition at line 319 of file DescriptorBindingsProcessor.cpp.
References MayaFlux::Nodes::Network::AUDIO_COMPUTE, MayaFlux::Nodes::Network::AUDIO_SINK, MayaFlux::Buffers::ShaderProcessor::bind_buffer(), MayaFlux::Buffers::ShaderConfig::bindings, MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, create_descriptor_buffer(), m_bindings, MayaFlux::Buffers::ShaderProcessor::m_config, MayaFlux::Buffers::ShaderProcessor::m_needs_descriptor_rebuild, MF_DEBUG, MF_ERROR, MF_WARN, NETWORK_AUDIO, NETWORK_GPU, STRUCTURED, and VECTOR.
Here is the call graph for this function: