|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::RenderProcessor::bind_texture | ( | const std::string & | descriptor_name, |
| const std::shared_ptr< Core::VKImage > & | texture, | ||
| vk::Sampler | sampler = nullptr |
||
| ) |
Bind a texture to a named descriptor.
| descriptor_name | Logical name (must be in config.bindings) |
| texture | VKImage texture to bind |
| sampler | Optional sampler (uses default linear if null) |
Definition at line 94 of file RenderProcessor.cpp.
References bind_texture(), MayaFlux::Buffers::ShaderProcessorConfig::bindings, MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::ShaderProcessor::m_config, and MF_ERROR.
Here is the call graph for this function: