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

◆ create_shader_module

std::function<std::shared_ptr<void>(const std::string&, uint32_t)> MayaFlux::Registry::Service::ComputeService::create_shader_module

Create a shader module from compiled shader code.

Parameters
spirv_pathPath to shader file (SPIR-V or backend-specific format)
stageShader stage flags (compute, vertex, fragment, etc.)
Returns
Opaque shader module handle

For Vulkan: SPIR-V bytecode (.spv files) For OpenGL: GLSL source code For Metal: .metallib or source For DirectX: DXIL or HLSL

Definition at line 31 of file ComputeService.hpp.