MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Registry::Service::ComputeService Struct Reference

Backend compute shader and pipeline service interface. More...

#include <ComputeService.hpp>

+ Collaboration diagram for MayaFlux::Registry::Service::ComputeService:

Public Attributes

std::function< std::shared_ptr< void >(const std::string &, uint32_t)> create_shader_module
 Create a shader module from compiled shader code.
 
std::function< std::shared_ptr< void >(uint32_t)> create_descriptor_manager
 Create a descriptor set manager/pool.
 
std::function< void *(const std::shared_ptr< void > &, const std::vector< std::pair< uint32_t, uint32_t > > &)> create_descriptor_layout
 Create a descriptor set layout.
 
std::function< std::shared_ptr< void >(const std::shared_ptr< void > &, const std::vector< void * > &, uint32_t)> create_compute_pipeline
 Create a compute pipeline.
 
std::function< void(const std::shared_ptr< void > &, uint32_t, uint32_t, uint32_t)> dispatch_compute
 Dispatch a compute shader execution.
 
std::function< void(const std::shared_ptr< void > &)> cleanup_resource
 Cleanup a compute resource.
 

Detailed Description

Backend compute shader and pipeline service interface.

Defines GPU compute operations for data-parallel processing. Supports shader compilation, descriptor management, and compute dispatch.

Typical Workflow:

  1. create_shader_module() -> ShaderHandle
  2. create_descriptor_manager() -> DescriptorManagerHandle
  3. create_descriptor_layout() -> DescriptorLayoutHandle
  4. create_compute_pipeline() -> PipelineHandle
  5. dispatch_compute() -> execute shader
  6. cleanup_resource() -> cleanup when done

Definition at line 19 of file ComputeService.hpp.


The documentation for this struct was generated from the following file: