|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::RenderProcessor::bind_texture | ( | uint32_t | binding, |
| const std::shared_ptr< Core::VKImage > & | texture, | ||
| vk::Sampler | sampler = nullptr |
||
| ) |
Bind a texture to a descriptor binding point.
| binding | Binding index (matches shader layout(binding = N)) |
| texture | VKImage texture to bind |
| sampler | Optional sampler (uses default linear if null) |
Definition at line 61 of file RenderProcessor.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Portal::Graphics::get_texture_manager(), MayaFlux::Portal::Graphics::INVALID_RENDER_PIPELINE, MayaFlux::Buffers::ShaderProcessor::m_descriptor_set_ids, m_render_pipeline_id, m_texture_bindings, MF_DEBUG, and MF_ERROR.
Referenced by bind_texture().
Here is the call graph for this function:
Here is the caller graph for this function: