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

◆ get_shader_reflection()

const ShaderReflection & MayaFlux::Core::VKComputePipeline::get_shader_reflection ( ) const

Get shader module reflection data.

Returns
Shader reflection (bindings, push constants, workgroup size)

Definition at line 419 of file VKComputePipeline.cpp.

420{
421 if (!m_shader) {
423 "Cannot get shader reflection - no shader attached");
424 static ShaderReflection empty;
425 return empty;
426 }
427 return m_shader->get_reflection();
428}
#define MF_ERROR(comp, ctx,...)
std::shared_ptr< VKShaderModule > m_shader
@ GraphicsBackend
Graphics/visual rendering backend (Vulkan, OpenGL)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, m_shader, and MF_ERROR.