module_for

Function module_for 

Source
pub fn module_for<RenderBackend: Backend>(
    shader_module: &ShaderModule<RenderBackend>,
) -> &RenderBackend::ShaderModule
Expand description

Retrieve the underlying gfx-hal shader module given the lambda-platform implemented shader module. Useful for creating gfx-hal entry points and attaching the shader to rendering pipelines.