Luna::RHI::get_shader_data_from_compile_result
ShaderData get_shader_data_from_compile_result(const ShaderCompiler::ShaderCompileResult &compile_result)
Gets one ShaderData structure that referrs the specified compile result.
Parameters
-
in compile_result
The shader compile result.
Return value
Returns one ShaderData structure that referrs the specified compile result.
Valid Usage
compile_result
must be valid so long as the returned shader data structure is valid, since the shader data structure does not contain the compiled shader data, one refers to it.