Method ReserveShader
ReserveShader(string)
Returns an observable sequence that retrieves the shader with the specified name.
public static IObservable<Shader> ReserveShader(string shaderName)
Parameters
shaderName
stringThe name of the shader program to retrieve.
Returns
- IObservable<Shader>
A sequence containing a single instance of the Shader class matching the specified name; or an exception, if no such shader exists.