|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Core::VKShaderModule::create_from_spirv_file | ( | vk::Device | device, |
| const std::string & | spirv_path, | ||
| vk::ShaderStageFlagBits | stage, | ||
| const std::string & | entry_point = "main", |
||
| bool | enable_reflection = true |
||
| ) |
Create shader module from SPIR-V file.
| device | Logical device |
| spirv_path | Path to .spv file |
| stage | Shader stage |
| entry_point | Entry point function name |
| enable_reflection | Extract metadata |
Reads binary file and calls create_from_spirv().
Definition at line 182 of file VKShaderModule.cpp.
References MayaFlux::Journal::Core, create_from_spirv(), MayaFlux::Journal::GraphicsBackend, MF_DEBUG, MF_ERROR, and read_spirv_file().
Here is the call graph for this function: