Function lambda_platform::gfx::shader::internal::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.