pub fn compile<'a>(
source: impl Into<ShaderSource<'a>>,
) -> Result<ShaderProgram, DesktopError>Expand description
Compile a complete trusted shader program from a descriptor or pixel-only HLSL. No filesystem includes or GPU resources are accessed by this operation.