|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Core::VKComputePipeline::bind | ( | vk::CommandBuffer | cmd | ) | const |
Bind pipeline to command buffer.
| cmd | Command buffer |
Makes this pipeline the active compute pipeline for subsequent dispatch commands. Must be called before bind_descriptor_sets() or dispatch().
Example: pipeline.bind(cmd); pipeline.bind_descriptor_sets(cmd, {desc_set}); pipeline.dispatch(cmd, 256, 1, 1);
Definition at line 182 of file VKComputePipeline.cpp.
References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, m_pipeline, and MF_ERROR.