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

◆ draw_mesh_tasks()

void MayaFlux::Portal::Graphics::RenderFlow::draw_mesh_tasks ( CommandBufferID  cmd_id,
uint32_t  group_count_x,
uint32_t  group_count_y = 1,
uint32_t  group_count_z = 1 
)

Draw mesh tasks (mesh shading pipeline only)

Definition at line 871 of file RenderFlow.cpp.

876{
877 auto cmd = m_shader_foundry->get_command_buffer(cmd_id);
878 if (!cmd) {
880 "Invalid command buffer ID: {}", cmd_id);
881 return;
882 }
883
884 cmd.drawMeshTasksEXT(group_count_x, group_count_y, group_count_z);
885}
#define MF_ERROR(comp, ctx,...)
vk::CommandBuffer get_command_buffer(CommandBufferID cmd_id)
Get Vulkan command buffer handle from CommandBufferID.
@ Rendering
GPU rendering operations (graphics pipeline, frame rendering)
@ Portal
High-level user-facing API layer.

References MayaFlux::Portal::Graphics::ShaderFoundry::get_command_buffer(), m_shader_foundry, MF_ERROR, MayaFlux::Journal::Portal, and MayaFlux::Journal::Rendering.

+ Here is the call graph for this function: